+ All Categories
Home > Technology > Recovery and backup for beginners

Recovery and backup for beginners

Date post: 25-Jun-2015
Category:
Upload: mike-hillwig
View: 2,607 times
Download: 2 times
Share this document with a friend
Description:
My first slides on recovery and backups for beginners.
Popular Tags:
22
Recovery and Backups for Beginners Mike Hillwig Boston, MA 5/28/22 | Footer Goes Here 1 |
Transcript
Page 1: Recovery and backup for beginners

Recovery and Backups for Beginners

Mike Hillwig

Boston, MA

5/31/13 | Footer Goes Here1 |

Page 2: Recovery and backup for beginners

Mike Hillwig

SQL Server DBA Working with SQL Server since SQL 7 Senior DBA at hosting division of a financial software

company owned by a large financial institution Resume includes Acme Packet Oracle, Shawmut Design

and Construction, Equitable Resources Certified in ITIL Foundations

Page 3: Recovery and backup for beginners

Mike Hillwig

Owned by Two Pugs Avid Cook Lover of Blue Cheese And Bacon Geek at Heart

Page 4: Recovery and backup for beginners

Obligatory Social Networking Slide

mikehillwig.com sqlserverpedia.com twitter.com/mikehillwig anysocialnetworkingsite/mikehillwig

Page 5: Recovery and backup for beginners

Housekeeping

Slides and scripts at sqlsaturday.com Blog post at mikehillwig.com/go/recovery Don’t let me talk too fast

Page 6: Recovery and backup for beginners

Beware of the Blogs

There is some amazing advice out there. But…

Anybody can put bad advice on the internet

Trust people you know

Assume I’m an idiot I don’t trust people who

say “ALWAYS” or “NEVER”

Test everything in your own test environment first.

Page 7: Recovery and backup for beginners

Lets talk strategy

Who has a backup strategy? Do you have a recovery strategy?

Page 8: Recovery and backup for beginners

If you have a backup strategy and not a recovery strategy, you're doing it wrong!

Page 9: Recovery and backup for beginners

Lets talk business

SLA: Service Level Agreements (with your customers)

OLA: Operational Level Agreements (with your organization)

RTO: how quickly you need to be recovered (usually in hours) after a failure

RPO: how much data loss (usually in minutes) is acceptable

Page 10: Recovery and backup for beginners

The lower your RTO and RPO, the greater the cost.

Page 11: Recovery and backup for beginners

Myth Busting

Backup and Recovery are NOT the same thing as high availability.

High Availability (Clustering, Always On) are a completely different topic.

Log Shipping is another topic for another day.

Page 12: Recovery and backup for beginners

Recovery Models

Simple Recovery – Allows us to restore a full backup.

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.

Page 13: Recovery and backup for beginners

What is the right Recovery Model to Use?

It depends on your RPO It also depends on your data and business

processes

Page 14: Recovery and backup for beginners

Why RPO Matters

Does your RPO allow you to lose the data between full backups?

Probably not. But it can happen.

Page 15: Recovery and backup for beginners

Why Your Data and Business Matters

How many of your databases have data that doesn’t change between full backups?

Can your data be recreated from import files or re-running a process to run data updates?

Page 16: Recovery and backup for beginners

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.

Page 17: Recovery and backup for beginners

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

Page 18: Recovery and backup for beginners

Had enough theory?

Page 19: Recovery and backup for beginners

Let’s Demo

Page 20: Recovery and backup for beginners

If you have a backup strategy and not a recovery strategy, you're doing it wrong!

Page 21: Recovery and backup for beginners

Wrap Up

Slides and blog post at mikehillwig.com/go/recovery

Page 22: Recovery and backup for beginners

Questions?


Recommended