Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Oracle Database wikipedia , lookup
Open Database Connectivity wikipedia , lookup
Microsoft SQL Server wikipedia , lookup
Functional Database Model wikipedia , lookup
Microsoft Jet Database Engine wikipedia , lookup
Relational model wikipedia , lookup
Ingres (database) wikipedia , lookup
Concurrency control wikipedia , lookup
Clusterpoint wikipedia , lookup
Back Up and Restore? Piece of Cake! DANIEL TAYLOR 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 • [email protected] • http://Wordpress.dbabulldog.com Backup and Restore Concepts Backing Up Databases Restoring Databases Backup and Restore Backup What, when and how often should I backup Types of backups Document Restore Types of database recoveries Test your backups Document Additional Backup and Recovery tidbits Backup and Restore Can you restore my database for me? Backup and Restore Backup What, when and how often should I backup Types of backups Document 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 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 Types of Backups by Recovery Model Full Bulk-Logged Full Full Differential Differential Log Log Filegroup Filegroup Partial Partial Simple Full Differential Partial 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 Document Document Backup and Restore Restore Types of database recoveries Test your backups Document 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 Types of Database Recoveries by Recovery Model Full Bulk-Logged Simple Full and Differential Full and Differential Full and Differential File Restore File Restore File Restore Page Restore Piecemeal Recovery Page Restore Piecemeal Recovery Piecemeal Recovery Recoveries Test your backups Backup is only as good as your latest recovery. 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 Recoveries Backup Recovery 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 Can you restore my database for me? Backup and Restore Additional Backup and Recovery tidbits Tail of the log Copy-Only 3rd party vendors DEMO Recovery Models, Backups, and Restores