SlideShare una empresa de Scribd logo
1 de 22
Recovery and Backups for Beginners
Mike Hillwig
Boston, MA
5/31/201
3 |
Footer Goes Here
1 |
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
Mike Hillwig
 Owned by Two Pugs
 Avid Cook
 Lover of Blue Cheese
 And Bacon
 Geek at Heart
Obligatory Social Networking Slide
 mikehillwig.com
 sqlserverpedia.com
 twitter.com/mikehillwig
 anysocialnetworkingsite/mikehillwig
Housekeeping
 Slides and scripts at sqlsaturday.com
 Blog post at mikehillwig.com/go/recovery
 Don’t let me talk too fast
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.
Lets talk strategy
 Who has a backup strategy?
 Do you have a recovery strategy?
If you have a backup strategy and not a
recovery strategy, you're doing it wrong!
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
The lower your RTO and RPO, the greater
the cost.
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.
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.
What is the right Recovery Model to Use?
 It depends on your RPO
 It also depends on your data and business
processes
Why RPO Matters
 Does your RPO allow you to lose the data
between full backups?
 Probably not.
 But it can happen.
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?
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.
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
Had enough theory?
Let’s Demo
If you have a backup strategy and not a
recovery strategy, you're doing it wrong!
Wrap Up
 Slides and blog post at
mikehillwig.com/go/recovery
Questions?

Más contenido relacionado

Destacado

Robert Bernier - Recovering From A Damaged PostgreSQL Cluster @ Postgres Open
Robert Bernier - Recovering From A Damaged PostgreSQL Cluster @ Postgres OpenRobert Bernier - Recovering From A Damaged PostgreSQL Cluster @ Postgres Open
Robert Bernier - Recovering From A Damaged PostgreSQL Cluster @ Postgres Open
PostgresOpen
 
Kevin Kempter PostgreSQL Backup and Recovery Methods @ Postgres Open
Kevin Kempter PostgreSQL Backup and Recovery Methods @ Postgres OpenKevin Kempter PostgreSQL Backup and Recovery Methods @ Postgres Open
Kevin Kempter PostgreSQL Backup and Recovery Methods @ Postgres Open
PostgresOpen
 
Lesson 8 - Understanding Backup and Recovery Methods
Lesson 8 - Understanding Backup and Recovery MethodsLesson 8 - Understanding Backup and Recovery Methods
Lesson 8 - Understanding Backup and Recovery Methods
Gene Carboni
 

Destacado (18)

Exadata Backup
Exadata BackupExadata Backup
Exadata Backup
 
Robert Bernier - Recovering From A Damaged PostgreSQL Cluster @ Postgres Open
Robert Bernier - Recovering From A Damaged PostgreSQL Cluster @ Postgres OpenRobert Bernier - Recovering From A Damaged PostgreSQL Cluster @ Postgres Open
Robert Bernier - Recovering From A Damaged PostgreSQL Cluster @ Postgres Open
 
2009-dec02_EMC2
2009-dec02_EMC22009-dec02_EMC2
2009-dec02_EMC2
 
Comparing Unitrends and EMC Avamar
Comparing Unitrends and EMC AvamarComparing Unitrends and EMC Avamar
Comparing Unitrends and EMC Avamar
 
Backup & recovery for exadata
Backup & recovery for exadataBackup & recovery for exadata
Backup & recovery for exadata
 
Corporate Laptop Backup and Recovery
Corporate Laptop Backup and RecoveryCorporate Laptop Backup and Recovery
Corporate Laptop Backup and Recovery
 
Presentation backup and recovery best practices for very large databases (v...
Presentation   backup and recovery best practices for very large databases (v...Presentation   backup and recovery best practices for very large databases (v...
Presentation backup and recovery best practices for very large databases (v...
 
Aspirus Enterprise Backup Assessment And Implementation Of Avamar
Aspirus Enterprise Backup Assessment And Implementation Of AvamarAspirus Enterprise Backup Assessment And Implementation Of Avamar
Aspirus Enterprise Backup Assessment And Implementation Of Avamar
 
Data backup and disaster recovery
Data backup and disaster recoveryData backup and disaster recovery
Data backup and disaster recovery
 
Kevin Kempter PostgreSQL Backup and Recovery Methods @ Postgres Open
Kevin Kempter PostgreSQL Backup and Recovery Methods @ Postgres OpenKevin Kempter PostgreSQL Backup and Recovery Methods @ Postgres Open
Kevin Kempter PostgreSQL Backup and Recovery Methods @ Postgres Open
 
Les 06 Perform Rec
Les 06 Perform RecLes 06 Perform Rec
Les 06 Perform Rec
 
Lesson 8 - Understanding Backup and Recovery Methods
Lesson 8 - Understanding Backup and Recovery MethodsLesson 8 - Understanding Backup and Recovery Methods
Lesson 8 - Understanding Backup and Recovery Methods
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oracle
 
Backup And Recovery
Backup And RecoveryBackup And Recovery
Backup And Recovery
 
Services Marketing
Services MarketingServices Marketing
Services Marketing
 
26 Time Management Hacks I Wish I'd Known at 20
26 Time Management Hacks I Wish I'd Known at 2026 Time Management Hacks I Wish I'd Known at 20
26 Time Management Hacks I Wish I'd Known at 20
 
Technology powerpoint presentations
Technology powerpoint presentationsTechnology powerpoint presentations
Technology powerpoint presentations
 
4 Critical Elements of Your Onboarding Process
4 Critical Elements of Your Onboarding Process4 Critical Elements of Your Onboarding Process
4 Critical Elements of Your Onboarding Process
 

Similar a Recovery and backup for beginners

Sql interview-question-part-9
Sql interview-question-part-9Sql interview-question-part-9
Sql interview-question-part-9
kaashiv1
 
Group Presentation on Bussiness Intelligence
Group Presentation on Bussiness IntelligenceGroup Presentation on Bussiness Intelligence
Group Presentation on Bussiness Intelligence
Gaurav Paliwal
 

Similar a Recovery and backup for beginners (20)

DevOps for Managers
DevOps for ManagersDevOps for Managers
DevOps for Managers
 
SQL Phone Home: Teaching Your SQL Servers to Call for Help
SQL Phone Home: Teaching Your SQL Servers to Call for HelpSQL Phone Home: Teaching Your SQL Servers to Call for Help
SQL Phone Home: Teaching Your SQL Servers to Call for Help
 
Dba tips and_tricks
Dba tips and_tricksDba tips and_tricks
Dba tips and_tricks
 
DevOps - Understanding Core Concepts
DevOps - Understanding Core ConceptsDevOps - Understanding Core Concepts
DevOps - Understanding Core Concepts
 
DBA Tips and Tricks - Presentation
DBA Tips and Tricks - PresentationDBA Tips and Tricks - Presentation
DBA Tips and Tricks - Presentation
 
Dev Ops for systems of record - Talk at Agile Australia 2015
Dev Ops for systems of record - Talk at Agile Australia 2015Dev Ops for systems of record - Talk at Agile Australia 2015
Dev Ops for systems of record - Talk at Agile Australia 2015
 
CTO Universe Leadership Series: More Effective Agile Leadership
CTO Universe Leadership Series: More Effective Agile LeadershipCTO Universe Leadership Series: More Effective Agile Leadership
CTO Universe Leadership Series: More Effective Agile Leadership
 
2014-10 DevOps NFi - Why it's a good idea to deploy 10 times per day v1.0
2014-10 DevOps NFi - Why it's a good idea to deploy 10 times per day v1.02014-10 DevOps NFi - Why it's a good idea to deploy 10 times per day v1.0
2014-10 DevOps NFi - Why it's a good idea to deploy 10 times per day v1.0
 
Ebook9
Ebook9Ebook9
Ebook9
 
Sql interview question part 9
Sql interview question part 9Sql interview question part 9
Sql interview question part 9
 
Ebook9
Ebook9Ebook9
Ebook9
 
Sql interview-question-part-9
Sql interview-question-part-9Sql interview-question-part-9
Sql interview-question-part-9
 
What the VLF
What the VLFWhat the VLF
What the VLF
 
Eric Ries sllconf keynote: state of the lean startup movement
Eric Ries sllconf keynote: state of the lean startup movementEric Ries sllconf keynote: state of the lean startup movement
Eric Ries sllconf keynote: state of the lean startup movement
 
MySQL Enterprise Backup
MySQL Enterprise BackupMySQL Enterprise Backup
MySQL Enterprise Backup
 
DevOps - Understanding Core Concepts (Old)
DevOps - Understanding Core Concepts (Old)DevOps - Understanding Core Concepts (Old)
DevOps - Understanding Core Concepts (Old)
 
The Secrets of Agile Leaders at BU Agile Innovation Lab
The Secrets of Agile Leaders at BU Agile Innovation LabThe Secrets of Agile Leaders at BU Agile Innovation Lab
The Secrets of Agile Leaders at BU Agile Innovation Lab
 
Group Presentation on Bussiness Intelligence
Group Presentation on Bussiness IntelligenceGroup Presentation on Bussiness Intelligence
Group Presentation on Bussiness Intelligence
 
Let's get along
Let's get alongLet's get along
Let's get along
 
Enterprise Devops Presentation @ Magentys Seminar London May 15 2014
Enterprise Devops Presentation @ Magentys Seminar London May 15 2014Enterprise Devops Presentation @ Magentys Seminar London May 15 2014
Enterprise Devops Presentation @ Magentys Seminar London May 15 2014
 

Más de Mike Hillwig (9)

Closing
ClosingClosing
Closing
 
Opening
OpeningOpening
Opening
 
Do More With Less: SQL Central Management Server and Multi-Server Administration
Do More With Less: SQL Central Management Server and Multi-Server AdministrationDo More With Less: SQL Central Management Server and Multi-Server Administration
Do More With Less: SQL Central Management Server and Multi-Server Administration
 
Defy the Defaults
Defy the DefaultsDefy the Defaults
Defy the Defaults
 
Seven Jobs You Should Be Running #sqlsat126
Seven Jobs You Should Be Running #sqlsat126Seven Jobs You Should Be Running #sqlsat126
Seven Jobs You Should Be Running #sqlsat126
 
New Server in an Hour #sqlsat121
New Server in an Hour #sqlsat121New Server in an Hour #sqlsat121
New Server in an Hour #sqlsat121
 
How Not to be a Cranky DBA
How Not to be a Cranky DBAHow Not to be a Cranky DBA
How Not to be a Cranky DBA
 
New Server in an Hour
New Server in an HourNew Server in an Hour
New Server in an Hour
 
How not to be a cranky dba
How not to be a cranky dbaHow not to be a cranky dba
How not to be a cranky dba
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

Recovery and backup for beginners

  • 1. Recovery and Backups for Beginners Mike Hillwig Boston, MA 5/31/201 3 | Footer Goes Here 1 |
  • 2. 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
  • 3. Mike Hillwig  Owned by Two Pugs  Avid Cook  Lover of Blue Cheese  And Bacon  Geek at Heart
  • 4. Obligatory Social Networking Slide  mikehillwig.com  sqlserverpedia.com  twitter.com/mikehillwig  anysocialnetworkingsite/mikehillwig
  • 5. Housekeeping  Slides and scripts at sqlsaturday.com  Blog post at mikehillwig.com/go/recovery  Don’t let me talk too fast
  • 6. 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.
  • 7. Lets talk strategy  Who has a backup strategy?  Do you have a recovery strategy?
  • 8. If you have a backup strategy and not a recovery strategy, you're doing it wrong!
  • 9. 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
  • 10. The lower your RTO and RPO, the greater the cost.
  • 11. 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.
  • 12. 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.
  • 13. What is the right Recovery Model to Use?  It depends on your RPO  It also depends on your data and business processes
  • 14. Why RPO Matters  Does your RPO allow you to lose the data between full backups?  Probably not.  But it can happen.
  • 15. 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?
  • 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. 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
  • 20. If you have a backup strategy and not a recovery strategy, you're doing it wrong!
  • 21. Wrap Up  Slides and blog post at mikehillwig.com/go/recovery

Notas del editor

  1. Good advice out there, but…Lots of outdated information. Do DB servers really need 2x RAM for PF?