SlideShare a Scribd company logo
HOW TO BACKUP SQL
SQL SERVER DATABASE




              DBATAG
              www.sqlServer-Training.com
AGENDA
• WHY Database backed is required ?
• Ways to Take SQL Server Database Backup
• Type of Backup
• DEMO : How to Take Backup
• Compress SQL Database Backup
• DEMO : How to Enable Backup Compression
WHY DATABASE BACKED IS REQUIRED ?

   Ensuring
     reliable     • Computers have a tendency to go
  backups of        wrong from time to time, these days
corporate data      total hard drive failure is rare, but it
                    does happen
 is one of the    • Viruses / SQL INJECTIONS
most important    • Human Error while updating data,
    roles for       Developer has missed to select where
   database         part in update / delete statement.
administrators.
WAYS TO TAKE SQL SERVER DATABASE BACKUP

   Manual     • Graphically - using SQL Server
                Management Studio by few clicks
    (On       • TSQL - using TSQL code
  Demand)

 Automatic    • We can also Schedule a backup
                where SQL Server will
(Scheduled)     automatically take backup
TYPE OF BACKUP
Full - All data files and active part of the transaction log
Differential - The parts of the database that have changed since the
last full database backup
Partial - The primary filegroup, every read/write filegroup, and any
specified read-only filegroups
Transaction Log - Any database changes recorded in the log files
Tail-log Backup - Log backup taken of the tail of the log just before a
restore operation
File/File Group - Specified files or filegroups
Copy Only - The database or log (without affecting the backup
sequence)
DEMO

Taking SQL Server FULL Database backup
Manually using SSMS – Graphically

Taking SQL Server FULL Database backup
Manually using TSQL CODE

Schedule a Database Backup
COMPRESS SQL DATABASE BACKUP
Compression helps to reduce the size of backup
but it consume CPU during backing up database.
 Note : -Database Compression is Available from SQL Server
 2008 onwards and with Standard and higher editions
DEMO


How to Enable Database
Compression

Explicitly compress on
demand backup
DO CHECK MY OTHERS POSTS

How to check Database which are not backed up in last 24 hours

Database Backup Report, Monthly Weekly

Report for Time Consumed by Backup Operations

How to verify Database Backups are good ?

Get notified in case backup fails

How to restore database backup

Designing Backup Strategies
FOR MORE TUTORIALS
Visit our website


         www.DBATAG.com
          www.sqlServer-
           Training.com

More Related Content

PPTX
SQL Server Backup and Recovery Challenges
PPTX
SQL Server Database Backup and Restore Plan
PPTX
SQL Server - Inside Optimizer Engine
PPTX
Backup and recovery in sql server database
PPT
Database backup & recovery
PPT
Database backup and recovery basics
PDF
Maintaining and Caring for your EPM Environment at Medinah 2013
PPTX
Performance tuning and optimization on client server
SQL Server Backup and Recovery Challenges
SQL Server Database Backup and Restore Plan
SQL Server - Inside Optimizer Engine
Backup and recovery in sql server database
Database backup & recovery
Database backup and recovery basics
Maintaining and Caring for your EPM Environment at Medinah 2013
Performance tuning and optimization on client server

What's hot (12)

PPTX
SQL Server 2008 R2 - Implementing High Availabilitty
PPT
Jay Weinshenker (@aus_effendi) - Oracle on VMware on Dell
PPTX
Single Slide, OverSimplified VDI Backup Strategy
PDF
Database backup and recovery
PDF
How to configure oracle audit vault and database firewall to protect oracle r...
PPTX
Database recovery
PDF
HP Autonomy - Three Ways to Preserve and Protect your Virtual Infrastructure
PDF
The virtues of backup disaster recovery
PDF
Blue Medora's Exadata Dashboard Review
PPTX
Sharepoint 2007 backup & restore
PPTX
Online Reporting Architectures Behind Load Balancers
PDF
Datasheet foldermanagementpluginforrd
SQL Server 2008 R2 - Implementing High Availabilitty
Jay Weinshenker (@aus_effendi) - Oracle on VMware on Dell
Single Slide, OverSimplified VDI Backup Strategy
Database backup and recovery
How to configure oracle audit vault and database firewall to protect oracle r...
Database recovery
HP Autonomy - Three Ways to Preserve and Protect your Virtual Infrastructure
The virtues of backup disaster recovery
Blue Medora's Exadata Dashboard Review
Sharepoint 2007 backup & restore
Online Reporting Architectures Behind Load Balancers
Datasheet foldermanagementpluginforrd
Ad

Viewers also liked (19)

PDF
Membangun relasi
PDF
Meroni comunicare - Brochure istituzionale 2011
PPTX
Dynamics AX - Point of Service Not Point of Sale
PPTX
Agile Development 2012 sharing and Kanban Introduction
PDF
xRM Twilight Presentation
PPTX
Preventores sociales comunitarios
PPTX
Backup beyond just a strategy with SQL Server
DOC
Liburan murah ke bali, harga rp 250 rb 2hr 1 mlm. hub 08563776704 (im3), inf...
PPTX
Tema wanita berharga bagi tuhan
PPTX
Ayat Hafalan Minggu ini
PPTX
Tr garland business networking expert - entrepreneur magazine - part 1
PDF
Improve your company's performance with IMAFS
PPT
Diseño y construccion de medios alternativos de comunicación para
PDF
MB6-890 Score Report
DOCX
Senam kegel pria untuk bercinta hingga 8 kali
PDF
Common scrum issues
PPTX
15. c combin ovejas
PPTX
2. sistemas de numeracion
PDF
Nano Server (ATD 11)
Membangun relasi
Meroni comunicare - Brochure istituzionale 2011
Dynamics AX - Point of Service Not Point of Sale
Agile Development 2012 sharing and Kanban Introduction
xRM Twilight Presentation
Preventores sociales comunitarios
Backup beyond just a strategy with SQL Server
Liburan murah ke bali, harga rp 250 rb 2hr 1 mlm. hub 08563776704 (im3), inf...
Tema wanita berharga bagi tuhan
Ayat Hafalan Minggu ini
Tr garland business networking expert - entrepreneur magazine - part 1
Improve your company's performance with IMAFS
Diseño y construccion de medios alternativos de comunicación para
MB6-890 Score Report
Senam kegel pria untuk bercinta hingga 8 kali
Common scrum issues
15. c combin ovejas
2. sistemas de numeracion
Nano Server (ATD 11)
Ad

Similar to How to backup sql (20)

PPTX
24 HOP edición Español - Sql server 2014 backup encryption - Percy Reyes
PPTX
my final ppresenntation.pptx
PPSX
MS SQL Backups explained by a DBA
PPT
Managing SQLserver
PPTX
Microsoft sql server database administration
PPTX
Managing SQLserver for the reluctant DBA
PPTX
MSSQL SERVER
PDF
SQL Server Backup and Restore
PPTX
Sql server lesson10
PPTX
Backup and restore
PDF
Restore Backup SQL Data
PPTX
Sql server basics
PDF
SQL server Backup Restore Revealed
PPT
Supporting SQLserver
DOCX
Trainmesfottech - Sql Server DBA Training Course Content
PPT
Sql server basics
PPT
SQL Server Basics Hello world iam here.ppt
PPTX
Sql Server tips from the field
PPTX
Sql server dba online training
24 HOP edición Español - Sql server 2014 backup encryption - Percy Reyes
my final ppresenntation.pptx
MS SQL Backups explained by a DBA
Managing SQLserver
Microsoft sql server database administration
Managing SQLserver for the reluctant DBA
MSSQL SERVER
SQL Server Backup and Restore
Sql server lesson10
Backup and restore
Restore Backup SQL Data
Sql server basics
SQL server Backup Restore Revealed
Supporting SQLserver
Trainmesfottech - Sql Server DBA Training Course Content
Sql server basics
SQL Server Basics Hello world iam here.ppt
Sql Server tips from the field
Sql server dba online training

Recently uploaded (20)

PDF
Advanced IT Governance
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Cloud computing and distributed systems.
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
KodekX | Application Modernization Development
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Transforming Manufacturing operations through Intelligent Integrations
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Advanced Soft Computing BINUS July 2025.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Modernizing your data center with Dell and AMD
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Advanced IT Governance
MYSQL Presentation for SQL database connectivity
Cloud computing and distributed systems.
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Reach Out and Touch Someone: Haptics and Empathic Computing
KodekX | Application Modernization Development
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
CIFDAQ's Market Insight: SEC Turns Pro Crypto
madgavkar20181017ppt McKinsey Presentation.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Transforming Manufacturing operations through Intelligent Integrations
Advanced methodologies resolving dimensionality complications for autism neur...
NewMind AI Weekly Chronicles - August'25 Week I
Spectral efficient network and resource selection model in 5G networks
Review of recent advances in non-invasive hemoglobin estimation
Advanced Soft Computing BINUS July 2025.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Per capita expenditure prediction using model stacking based on satellite ima...
Modernizing your data center with Dell and AMD
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf

How to backup sql

  • 1. HOW TO BACKUP SQL SQL SERVER DATABASE DBATAG www.sqlServer-Training.com
  • 2. AGENDA • WHY Database backed is required ? • Ways to Take SQL Server Database Backup • Type of Backup • DEMO : How to Take Backup • Compress SQL Database Backup • DEMO : How to Enable Backup Compression
  • 3. WHY DATABASE BACKED IS REQUIRED ? Ensuring reliable • Computers have a tendency to go backups of wrong from time to time, these days corporate data total hard drive failure is rare, but it does happen is one of the • Viruses / SQL INJECTIONS most important • Human Error while updating data, roles for Developer has missed to select where database part in update / delete statement. administrators.
  • 4. WAYS TO TAKE SQL SERVER DATABASE BACKUP Manual • Graphically - using SQL Server Management Studio by few clicks (On • TSQL - using TSQL code Demand) Automatic • We can also Schedule a backup where SQL Server will (Scheduled) automatically take backup
  • 5. TYPE OF BACKUP Full - All data files and active part of the transaction log Differential - The parts of the database that have changed since the last full database backup Partial - The primary filegroup, every read/write filegroup, and any specified read-only filegroups Transaction Log - Any database changes recorded in the log files Tail-log Backup - Log backup taken of the tail of the log just before a restore operation File/File Group - Specified files or filegroups Copy Only - The database or log (without affecting the backup sequence)
  • 6. DEMO Taking SQL Server FULL Database backup Manually using SSMS – Graphically Taking SQL Server FULL Database backup Manually using TSQL CODE Schedule a Database Backup
  • 7. COMPRESS SQL DATABASE BACKUP Compression helps to reduce the size of backup but it consume CPU during backing up database. Note : -Database Compression is Available from SQL Server 2008 onwards and with Standard and higher editions
  • 8. DEMO How to Enable Database Compression Explicitly compress on demand backup
  • 9. DO CHECK MY OTHERS POSTS How to check Database which are not backed up in last 24 hours Database Backup Report, Monthly Weekly Report for Time Consumed by Backup Operations How to verify Database Backups are good ? Get notified in case backup fails How to restore database backup Designing Backup Strategies
  • 10. FOR MORE TUTORIALS Visit our website www.DBATAG.com www.sqlServer- Training.com