Presentation is loading. Please wait.

Presentation is loading. Please wait.

Back Up and Restore? Piece of Cake!

Similar presentations


Presentation on theme: "Back Up and Restore? Piece of Cake!"— Presentation transcript:

1 Back Up and Restore? Piece of Cake!
Daniel Taylor

2 Presenter Information
Daniel Taylor Nielsen Media Research, Publix, New York Life Direct Currently consultant and Pragmatic Works Tech Editor SQL Server 2014 Pro Administration @DBABulldog

3 Backup and Restore Concepts Backing Up Databases Restoring Databases

4 Backup and Restore Backup Restore
What, when and how often should I backup Types of backups Document Restore Types of database recoveries Test your backups Additional Backup and Recovery tidbits Backup and Restore Backup What, when and how often should I Backup Types of Backups Document Restore Types of Database recoveries Test your backups Additional Backup and Recovery tidbits

5 Backup and Restore Can you restore my database for me?
What, when and how often should I Backup Types of Backups Document Restore Types of Database recoveries Test your backups Additional Backup and Recovery tidbits

6 Backup and Restore Backup What, when and how often should I backup
Types of backups Document Backup and Restore Backup What, when and how often should I Backup Types of Backups Document Restore Types of Database recoveries Test your backups Additional Backup and Recovery tidbits

7 Backups What, when and how often should I backup
Backup everything that you can…system and User Databases When to backup will be defined by RTO and RPO Backup and Restore Backup What, when and how often should I Backup Backup everything that you can…System and User Databases When to backup will be defined by RTO and RPO How often to backup will be defined by the RTO and RPO

8 Types of Backups Backup Types Available in SQL Server
Full – Contains all data in a system or user database Differential – Contains all changes since the last Full backup Log - Contains all log records since last log backup Filegroup – backup of one or more database files or filegroups Partial – backup containing data from the primary filegroup, every read/write filegroup and option read-only files Backup and Restore Backup Types of Backups Backup Types Available in SQL Server Full – Contains all data in a system or user database Differential – Contains all changes since the last Full backup Log - Contains all log records since last log backup Filegroup – backup of one or more database files or filegroups Partial – backup containing data from the primary filegroup, every read/write filegroup and option read-only files

9 Types of Backups by Recovery Model
Full Differential Log Filegroup Partial Bulk-Logged Simple Backup and Restore Backup Types of Backups available by recovery model Database in Simple Recovery model Full Differential Partial Database in Bulk-Logged and Full Recovery models Log Filegroup

10 Document Document Keep repository of backup schedules
Keep historical documentation of backup times Keep historical documentation of backup sizes Historical information is stored within DMVs Backup and Restore Backup Document Keep repository of backup schedules Keep historical documentation of backup times Keep historical documentation of backup sizes Historical information is stored within DMVs

11 Document Document Backup and Restore Backup Document
Keep repository of backup schedules Keep historical documentation of backup times Keep historical documentation of backup sizes Historical information is stored within DMVs

12 Backup and Restore Restore Types of database recoveries
Test your backups Document Backup and Restore Backup What, when and how often should I Backup Types of Backups Document Restore Types of Database recoveries Test your backups Additional Backup and Recovery tidbits

13 Types of Recoveries Recovery Scenarios Available
Full – recovers all data in a system or user database Differential – Recovers all changes since the last Full backup Log - recovers all log records since last log backup File Restore – Restore one or more damaged files. Dependent on Recovery model. Page restore – Recover one or more damaged pages Piecemeal – Restore and recover the database in stages at the filegroup level Backup and Restore Recoveries Types of Recoveries Recovery scenarios available Full – recovers all data in a system or user database Differential – Recovers all changes since the last Full backup Log - recovers all log records since last log backup File Restore – Restore one or more damaged files. Dependent on Recovery model. Page restore – Recover one or more damaged pages Piecemeal – Restore and recover the database in stages at the filegroup level

14 Types of Database Recoveries by Recovery Model
Full Full and Differential File Restore Page Restore Piecemeal Recovery Bulk-Logged Simple Backup and Restore Recoveries Types of Database recoveries available by recovery model Database in Simple Recovery model Full and Differential File Restore Piecemeal recovery Database in Bulk-Logged and Full Recovery models Page Restore Piecemeal Recovery

15 Recoveries Test your backups
Backup is only as good as your latest recovery. Backup and Restore Recoveries Test your backups A completed backup is not enough Find a place to test your backups be doing a recovery Testing allows for recovery strategy validation Allows us to gather timings

16 Recoveries Test your backups A completed backup is not enough
Find a place to test your backups by doing a recovery Testing allows for recovery strategy validation Allows us to gather timings Backup and Restore Recoveries Test your backups A completed backup is not enough Find a place to test your backups be doing a recovery Testing allows for recovery strategy validation Allows us to gather timings

17 Recoveries Backup Recovery Backup and Restore Recoveries
Test your backups A completed backup is not enough Find a place to test your backups be doing a recovery Testing allows for recovery strategy validation Allows us to gather timings

18 Document Document Standardize and document backup landing locations
Recovery times Recovery scripts and procedures Which databases should be recovered as a set Backup and Restore Recoveries Document Standardize and Document backup landing locations Recovery times Recovery Scripts and Procedures

19 Backup and Restore Can you restore my database for me?
What, when and how often should I Backup Types of Backups Document Restore Types of Database recoveries Test your backups Additional Backup and Recovery tidbits

20 Backup and Restore Additional Backup and Recovery tidbits
Tail of the log Copy-Only 3rd party vendors Backup and Restore Additional Backup and Recovery tidbits Tail of the log Copy Only 3rd Party Vendors

21 Recovery Models, Backups, and Restores


Download ppt "Back Up and Restore? Piece of Cake!"

Similar presentations


Ads by Google