Step 21 of 36 · Operations
Disaster recovery and testing it
A recovery plan that has never been exercised is a guess. Set recovery targets with the business and rehearse.
Ordinary incidents are handled by ordinary response. Disasters are the cases where the usual tools are gone too: a region lost, data corrupted, a credential compromised, the deployment system down with everything else.
Start from the business. For each critical service agree how long it may be down and how much data it may lose, then check that design and budget can deliver it. Expect a gap between what leaders assume and what has been paid for.
Then test. A backup is proven only when a restore has been done, timed and checked. Run recovery exercises on real systems, starting small, and write down what failed. The findings are usually mundane: an expired credential, a document stored on the system that is down, one person who knew the steps.
Try this week
- Pick one critical data store and restore it from backup into a test environment. Record how long it took and what went wrong.
- List recovery time and data loss targets for your top five services and mark which have been tested in the past year.
Signs you've got it
- Recovery targets are agreed with the business and backed by a dated test result.
- Recovery exercises find fewer surprises each time.
Resources
- guideContingency Planning Guide for Federal Information Systems (NIST SP 800-34 Rev. 1) (opens in a new tab)National Institute of Standards and Technology
- articleWeathering the Unexpected (opens in a new tab)Kripa Krishnan
- bookDisaster Planning (Building Secure and Reliable Systems) (opens in a new tab)Michael Robinson and Sean Noonan
- talkThe History of Fire Escapes (opens in a new tab)Tanya Reilly
- bookData Integrity: What You Read Is What You Wrote (Site Reliability Engineering) (opens in a new tab)Raymond Blum and Rhandeev Singh
Talks to watch
- 39 min10 Years of Crashing Google (LISA15) (YouTube, opens in a new tab)Kripa Krishnan
- 40 minHave You Tried Turning It Off and Turning It On Again? (LISA17) (YouTube, opens in a new tab)Tanya Reilly