Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Recovery and backup for beginners

3,152 views

Published on

My first slides on recovery and backups for beginners.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Recovery and backup for beginners

  1. 1. Recovery and Backups for BeginnersMike HillwigBoston, MA5/31/2013 |Footer Goes Here1 |
  2. 2. Mike Hillwig SQL Server DBA Working with SQL Server since SQL 7 Senior DBA at hosting division of a financial softwarecompany owned by a large financial institution Resume includes Acme Packet Oracle, Shawmut Designand Construction, Equitable Resources Certified in ITIL Foundations
  3. 3. Mike Hillwig Owned by Two Pugs Avid Cook Lover of Blue Cheese And Bacon Geek at Heart
  4. 4. Obligatory Social Networking Slide mikehillwig.com sqlserverpedia.com twitter.com/mikehillwig anysocialnetworkingsite/mikehillwig
  5. 5. Housekeeping Slides and scripts at sqlsaturday.com Blog post at mikehillwig.com/go/recovery Don’t let me talk too fast
  6. 6. Beware of the Blogs There is some amazingadvice out there. But… Anybody can put badadvice on the internet Trust people you know Assume I’m an idiot I don’t trust people whosay “ALWAYS” or“NEVER” Test everything in yourown test environmentfirst.
  7. 7. Lets talk strategy Who has a backup strategy? Do you have a recovery strategy?
  8. 8. If you have a backup strategy and not arecovery strategy, youre doing it wrong!
  9. 9. Lets talk business SLA: Service Level Agreements (with yourcustomers) OLA: Operational Level Agreements (with yourorganization) RTO: how quickly you need to be recovered(usually in hours) after a failure RPO: how much data loss (usually in minutes) isacceptable
  10. 10. The lower your RTO and RPO, the greaterthe cost.
  11. 11. Myth Busting Backup and Recovery are NOT the samething as high availability. High Availability (Clustering, Always On) area completely different topic. Log Shipping is another topic for another day.
  12. 12. Recovery Models Simple Recovery – Allows us to restore a fullbackup. Full Recovery Allows us to restore a full backup Then roll forward transaction log backups Stop at a specific point in time BULK LOGGED – Similar to Full Recovery,but we’re not talking about it today.
  13. 13. What is the right Recovery Model to Use? It depends on your RPO It also depends on your data and businessprocesses
  14. 14. Why RPO Matters Does your RPO allow you to lose the databetween full backups? Probably not. But it can happen.
  15. 15. Why Your Data and Business Matters How many of your databases have data thatdoesn’t change between full backups? Can your data be recreated from import filesor re-running a process to run data updates?
  16. 16. Matching Recovery Models to Backups SIMPLE: Regular FULL backups FULL: Regular FULL backups AND frequent transaction log backups How frequent? It depends on your RPO.
  17. 17. A Word on Log Shipping Another form of Backup and Recovery Three Step Process Backup Transaction Logs Copies Transaction Log Backups to Target Restores Transaction Log Backups on Target Very helpful for Disaster Recovery
  18. 18. Had enough theory?
  19. 19. Let’s Demo
  20. 20. If you have a backup strategy and not arecovery strategy, youre doing it wrong!
  21. 21. Wrap Up Slides and blog post atmikehillwig.com/go/recovery
  22. 22. Questions?

×