Disaster recovery and business continuity
A backup is a hope until you have restored it: set recovery objectives with the people who own the business process, match each tier to a strategy you can pay for, and prove the numbers with exercises that include the people as well as the systems
Your nightly database backups have succeeded every night for two years, and the standby replica in another zone has never lagged more than a second. Which fact tells you most about whether you could recover from someone deleting the main table?
Disaster recovery, DR, is the technical half of a larger promise: that the organisation can keep doing what it exists to do when something large goes wrong. Business continuity, BC, is the whole promise. DR asks how the systems come back. BC asks how the pensions get paid, or the passcodes delivered, while they do, and who decides, and who tells the customers.
At practitioner level you make one service resilient. At Lead level, as a Senior SRE, Staff SRE or Platform Lead, you own the practice across all of them: the tiering, the plan, the exercise calendar and the gap list. Nobody else in engineering sees every dependency at once, and nobody else will notice that the restore tooling runs in the region it is meant to restore.
The model: two numbers and a list of disasters
Every DR plan rests on two numbers per business process.
The recovery time objective, RTO, is how long the process may be unavailable before the impact becomes unacceptable. The recovery point objective, RPO, is how far back in time the recovered data may be: how much recent work the business can afford to lose. NIST’s contingency planning guide, SP 800-34, adds a third, the maximum tolerable downtime, MTD, the total outage the business owner will accept with every impact considered. It notes that the RTO “must normally be shorter than the MTD”, because after the systems return, someone still has to reprocess the work that queued up while they were down.
These numbers are business decisions. They come from a business impact analysis, BIA: for each process, what an hour, a day and a week of outage costs in money, customers, legal exposure and harm to people, and how much lost data could be re-entered by hand. The owner of the process signs the numbers. Your job is to say what each target costs to meet, and to prove whether today’s design meets it. When engineering sets RTOs alone, it sets them by what the architecture happens to do, and the plan describes the system rather than protecting the business.
The second half of the model is the list of disasters. “The region goes down” is the one people picture, and it is often not the most likely. A useful plan names each scenario because each one defeats a different defence:
| Scenario | What survives it | What does not |
|---|---|---|
| Loss of a zone or data centre | Multi-zone deployment, synchronous replicas | Nothing extra needed if designed for it |
| Loss of a region | A second region with data and the means to run in it | Everything single-region, including your tooling |
| Logical corruption or deletion (bad migration, script, bug) | Point-in-time backups older than the damage | Replicas, which copy the damage in seconds |
| Ransomware or a compromised administrator account | Copies in a separate account the attacker cannot delete | Backups the same credentials can reach |
| Loss of a key supplier (identity provider, payment bank, DNS) | A tested manual or alternative path | Any plan that assumes the supplier is up |
| Loss of people or a building | Documented procedures, deputies, remote access | Knowledge held by one person |
The third row is the one to understand first. High availability is a different thing from recoverability. A replica, a multi-zone cluster and an active/active deployment all protect against losing hardware, and all faithfully copy a DELETE without a WHERE. AWS’s DR guidance says it plainly about active/active: for corruption or deletion, the recovery point “will always be at some point before the disaster was discovered”. The mechanics of replication and failover, including what async replication loses and how split brain happens, are in the Databases course chapters on replication and failover, split brain and fencing. The underlying reason no failover is instant, that a dead node and a slow one look the same, is the failure models lesson.
Tiering: not everything gets the same promise
A company with forty services cannot give all forty a one-hour RTO, and should not want to. Tiering sorts services by the RTO and RPO of the business process they support, so the expensive strategies go where they pay.
| Tier | Typical RTO | Typical RPO | Example |
|---|---|---|---|
| 0 | minutes | seconds | Payment authorisation, login, message routing |
| 1 | hours | minutes | Core records, payroll runs, order management |
| 2 | one to three days | hours | Batch imports, reporting, internal tools people work around |
| 3 | a week | a day | Analytics, archive search, the marketing site |
The ranges are a rule of thumb; your BIA sets the real ones. This scale starts at tier 0; other chapters in this track number their top tier 1. Use one numbering across your DR plan, on-call tiers and readiness reviews. Two refinements matter more than the boundaries.
A service’s real RTO is set by its slowest dependency. If payroll needs the database, the secrets store, the identity provider, DNS, the CI pipeline that deploys it and the bank’s file endpoint, then payroll recovers when the last of those does. Kripa Krishnan’s account of Google’s DiRT exercises, in the reading, has the classic example: in a simulated earthquake that took out a data centre and the Mountain View campus, authentication failed in ways nobody expected and locked most teams out of their workstations, and the configuration change needed to reroute pages to other offices depended on a system the outage had taken down. Map the dependency chain for every tier 0 and tier 1 service, and give the shared infrastructure (identity, DNS, secrets, deploy tooling, the backup system itself) a tier at least as high as its most demanding consumer.
Some RTOs change with the calendar. A pension payroll can be down for a day in the middle of the month and for four hours in the three days before the payment file is due. A tax filing service has one week a year that matters. Write the window into the tier, because it changes the strategy.
Strategies, and what each costs
AWS’s DR whitepaper names four strategies, and the names are now common across clouds and on-premises:
| Strategy | What runs in the recovery site | Recovery time | Cost |
|---|---|---|---|
| Backup and restore | Nothing; backups and infrastructure code only | Hours to days, dominated by data restore time | Lowest: storage |
| Pilot light | Data replicated and live; compute defined but switched off | Tens of minutes to hours | Low: data stores always on |
| Warm standby | A scaled-down, working copy of production | Minutes to tens of minutes, plus scale-up | Medium |
| Multi-site active/active | Full production in each site, serving traffic | Near zero for site loss | Highest, plus design work for writes in two places |
The recovery times are orders of magnitude, not guarantees; the only number you can quote is one you measured. Three points from the whitepaper deserve to be in your head when someone proposes a strategy.
Every strategy above backup and restore still needs backups, because replication does not protect against corruption. Multi-region is an addition to tested restores, never a replacement for them.
Backup and restore is only as fast as your ability to rebuild the infrastructure. Without infrastructure as code, the whitepaper warns, restoring a workload in the recovery region “may be complex” and can exceed your RTO. This is where infrastructure as code and delivery pays its second dividend: an environment that a pipeline can build in a new region from the repository.
Automatic failover between regions should be used “with caution”. A false alarm causes the data loss and downtime it was meant to prevent. The usual shape is a human decision to fail over, followed by a fully automated procedure, “like the push of a button”.
The cost column is where you earn your role. A warm standby keeps a second copy of every stateful component running and adds a second place where every change must land. Price each option against the tier’s BIA, and present the choice to the process owner as money against risk, the way capacity and cost presents a fleet.
Backups are only as good as the last restore
The data integrity chapter of Google’s SRE book has the line every DR owner should keep: “No one really wants to make backups; what people really want are restores.” It follows with the rule: “Prove that data recovery works with regular exercise, or data recovery won’t work.”
What goes wrong is rarely the backup job. It is everything around it. The restore needs a disk bigger than it did two years ago. The runbook names a bucket that was renamed. The backups are in the same account as production, so the credentials that ransomware steals can delete them. The restore was tested on one table, and nobody knows how long the whole 2 TB takes. In the DiRT sidebar to Krishnan’s article, a fictionalised account by Tom Limoncelli, a restore drill finds exactly two of these: a command in the runbook that now needed extra parameters, and a restore area too small for a database that had grown.
A restore programme you can defend has five parts:
- Separation. At least one copy in a different account, with deletion locked for the retention period, and ideally a different region. The UK National Cyber Security Centre’s advice is to keep at least one backup offline at any time, so that an incident “cannot affect all of your backups simultaneously”.
- Continuous small restores. An automated job restores a recent backup into a scratch environment every day and checks it: row counts, a checksum, a query that should return yesterday’s data. It alerts when it fails, like any other SLO.
- Timed full restores. On a schedule set by tier, restore the whole dataset to a working service in the recovery site and record the time. That figure, not the vendor’s estimate, is your current recovery time.
- Capacity for recovery. Quotas in the recovery account and region, restore throughput, and the people to run it in parallel. Treat this as part of the capacity plan.
- Restore at the scale of the disaster. One customer, one table, one service is the easy case. Test the case where everything needs restoring at once.
Exercises: from tabletop to a dark data centre
A DR plan that has not been exercised is a hypothesis. Exercises come in a ladder, and you climb it as the plan matures.
Tabletop. People sit together, a facilitator presents a scenario, and the group talks through who does what. NIST describes it as discussion only, with no equipment deployed. It is cheap, and it finds the gaps in roles, contacts and decisions: who declares a disaster, who calls the bank, who approves the spend.
Component restore or failover. One team restores one database, or fails one service over, against the clock. This is where the runbook meets reality.
Game day. A planned fault in production or a production-like environment, with the responders not told the details in advance. The testing in production chapter covers the blast radius and abort criteria; the Principles of Chaos Engineering add the habits of a steady-state hypothesis and a minimal blast radius.
Full exercise. Evacuate a region or a site for real, for hours, with business processes running on the recovery side. Google’s DiRT, as Krishnan describes it, is annual, company-wide and runs for several days. It breaks live systems and deliberately keeps “critical personnel, area experts, and leaders” from taking part, because plans quietly depend on them.
Krishnan’s examples are the best argument for the people side. In the first DiRT exercise, exactly one person found the emergency communications plan and joined the right bridge. In a later drill more than 100 people did, and the bridge held only 40. During a simulated long power outage, nobody could find the emergency spending process for diesel, and an employee offered to put the six-figure bill on a personal credit card. Her conclusion: “Copious documentation on how something should work doesn’t mean anyone will use it, or that it will work if they do.”
Every exercise produces findings, and findings are worth nothing unless fixed. Track them as you track postmortem actions in the incident programme: an owner, a due date, a review that reads the overdue list.
Business continuity: the parts that are not systems
A DR plan brings systems back. A continuity plan keeps the business running while they come back, and its parts are mostly not engineering.
- Declaring a disaster. An incident is declared by anyone; a disaster, which triggers the DR plan, costly failovers and customer notices, is usually declared by a named executive or their deputy. Write down who, and how they are reached when the usual chat tool is down.
- Manual workarounds. What the business does while the system is down: take orders by phone, pay pensioners last month’s amount and reconcile later, route traffic through a partner. The process owner designs and rehearses these, not you, but your plan must say when they start.
- Communications. Customers, regulators, partners and staff, each with a template and an owner. Public crisis communication at executive level is covered in crises and hard calls.
- Suppliers. Each critical supplier’s own recovery promise, read from the contract, and what you do if it fails.
- Authority. Emergency spending, access grants and approval chains that do not depend on the people or systems that may be gone.
ISO 22301 is the international standard for a business continuity management system, and a company that is certified to it will have a continuity manager who owns this list. Your job is to make the technical recovery in that plan true.
When a regulator sets the floor
In financial services, recovery is often a legal duty rather than a choice. In the EU, the Digital Operational Resilience Act, Regulation (EU) 2022/2554, has applied since 17 January 2025 to a long list of financial entities, from banks to insurers to institutions for occupational retirement provision. Article 11 requires them to test their ICT business continuity plans and their response and recovery plans “at least yearly” and after substantive changes to critical systems. Article 12 requires documented backup policies, and restoration onto systems “physically and logically segregated from the source”. Other countries and sectors have their own regimes. Whether any of them binds your company, or binds your customers who then write it into your contract, is a question for your compliance team; ask it early, because it changes the test calendar and the evidence you must keep.
Where practitioners disagree
Multi-region by default, or earn it. One camp holds that for any service that matters, a second region is table stakes in the cloud era and that designing for it later is far harder. The other notes that region-wide outages are rare compared with deletions, bad deploys and expired certificates, and that a second region doubles the surfaces where things drift. Both are right about something. The tiebreak is the BIA and a measured restore time: if a tested restore meets the RTO, multi-region is spending on a promise nobody asked for.
Announced or unannounced tests. Unannounced tests find the most, and DiRT has run them. They also cause real outages, and Krishnan is candid that DiRT has caused accidental outages and lost revenue. Start announced, and earn the right to surprise.
Same provider or a second one. Some teams use a second cloud provider for recovery to survive a provider-wide failure. Most find the cost of keeping two sets of tooling working is higher than the risk it covers, and use a second region and a separate account instead. Regulated firms are sometimes asked to justify that choice; write the reasoning down. Whether to plan for leaving a provider altogether is a strategy question for the head of the function, covered in reliability and infrastructure strategy.
Day to day
DR is a programme with a calendar. As the Lead who owns it, your time goes roughly like this.
Daily, automated. The restore checker runs and its result is on the platform dashboard. A failed restore pages during working hours like a breached SLO. You look at it only when it is red.
Weekly, fifteen minutes. Read the exercise findings tracker and chase anything overdue. Check that new services launched this week have a tier and an entry in the plan; this is a standing line in production readiness reviews, whose checklist asks for backups and a timed restore rehearsal.
Monthly. One component restore drill, rotated across teams so each tier 1 service is restored at least quarterly. An hour with the continuity manager or, without one, the operations lead, to walk the contact list and the workarounds.
Quarterly. A game day or a tabletop on a scenario chosen from the table above, never the same one twice running. Review each tier 0 and tier 1 entry: has the data grown, has a dependency changed, is the measured recovery time still inside the RTO?
Annually. Refresh the BIA with the process owners and have them re-sign the objectives. Run the full exercise. Present the results, the gaps and the cost of closing them to the head of engineering and the risk forum, the way owning reliability, security and compliance describes it from the executive side.
After every architecture change. A new datastore, a new supplier or a new region updates the dependency map the same week. Plans rot fastest here.
The meetings that matter are the annual BIA sign-off, where the business decides what it is buying, and the exercise debrief, where you find out whether it got it.
Nobody has the title and there is no BIA. Do three things. Make sure database backups go to a separate account with deletion locked, because a stolen key or a bad script is your most likely disaster. Restore the whole production database to a fresh environment once a quarter, time it, and write the time in the README. Keep the infrastructure in code so a new region is a pipeline run, not a week of clicking. Ask the founders once what an outage of a day would cost and write the answer down; that is your RTO until someone has time for a better one.
This is where the practice is built and where most gaps are found. A Platform Lead or Staff SRE writes the first plan, runs the first BIA interviews with the people who own payroll, payments or customer support, and tiers the services. The first full restore exercise usually fails somewhere: a quota, a missing secret, a runbook that assumes a person who has left. That is its purpose. Customers start asking for DR evidence in security questionnaires and contracts, and the plan becomes something sales sends. Resist promising an RTO you have not measured.
A business continuity office exists, often under risk or operations, with ISO 22301 certification or a regulator to satisfy, and a plan template engineering did not write. Your job is to make the technical half true and testable across dozens of teams: shared tiers, shared tooling, an exercise calendar coordinated so two teams do not fail over the same dependency in the same week. The politics are about money and dates. Every tier 1 claim costs a team an exercise, and the gaps found compete with roadmap work. Report measured times beside the claimed ones and let the risk forum decide.
Template
# Disaster recovery plan: <system or business area>
Owner · Version · Last BIA sign-off · Last full exercise · Next review
## 1. Scope and scenarios
In scope: <services> · Out of scope: <services, why>
Scenarios planned for: zone loss | region loss | logical corruption/deletion |
ransomware or account compromise | supplier loss | people/building loss
## 2. Business processes and objectives (from the BIA)
| Process | Owner (signs) | MTD | RTO | RPO | Calendar window |
|---|---|---|---|---|---|
## 3. Services, tiers and dependencies
| Service | Tier | Supports process | Depends on |
|---|---|---|---|
## 4. Strategy per tier
| Tier | Strategy | Data protection | Where copies live | Monthly cost |
|---|---|---|---|---|
## 5. Measured recovery
| Service | Target RTO / RPO | Measured RTO / RPO | Exercise and date |
|---|---|---|---|
## 6. Gaps and treatments
| Gap | Treatment | Owner | Due |
|---|---|---|---|
## 7. Invoking the plan
Who declares a disaster: <role, deputy> · How reached: <out-of-band channel>
Technical recovery lead: <role> · Business continuity lead: <role>
Runbooks: <links, and where an offline copy is kept>
## 8. Business continuity
| Process | Workaround while down | Owner | When it starts |
|---|---|---|---|
Communications: customers <owner> · regulator <owner> · staff <owner>
## 9. Exercise calendar (next 12 months)
| Month | Type (tabletop, restore, game day, full) | Scenario | Owner |
|---|---|---|---|
## 10. Regulatory and contractual obligations
<Rule or contract clause · what it requires · evidence kept> WORKED EXAMPLE
Galena is a fictional pension fund administrator in Dublin: 600 people, 80 engineers in ten teams. It administers 140 occupational pension schemes for Irish and Dutch funds, with 410,000 members, 160,000 of them pensioners paid monthly. Orla, the Platform Lead, owns the plan; this is its payroll section after the September 2026 exercise.
Objectives (BIA signed by Rania, head of pensions operations). Pension payroll pays about €210M a month. The payment file must reach the bank by 14:00 on the 23rd for value on the 25th. RTO 24 hours for most of the month, 4 hours from the 20th to the 23rd. RPO 5 minutes for member records: changes of bank details and deaths notified that day cannot be re-entered reliably. Contributions processing: tier 2, RTO three business days, because employers can resend their files. Member portal: tier 3, RTO five days; the phone line covers balance queries.
Dependencies. Member records database (Postgres, 1.8 TB), secrets store, the identity provider, DNS, the deploy pipeline, the bank’s file endpoint.
Strategy. Backup and restore into a second region in a separate account. WAL is archived continuously there; nightly base backups are copied and locked against deletion for 35 days. Infrastructure is built from Terraform.
Measured. The September exercise, led by Bekele, restored the database in 5 hours 40 minutes and had payroll running in 9 hours 10 minutes, inside the 24-hour target. It found a runbook naming a deleted bucket and a recovery-account instance quota too low, which cost 50 minutes.
Gap. Nine hours 10 minutes is outside the 4-hour window target. Treatment, owner Orla, due January 2027: run a warm standby replica of the member database in the recovery region from the 19th to the 24th each month (illustrative cost about €2,900 a month). Business fallback, owner Rania: the trustees have pre-approved repeating last month’s payment file and reconciling next month; a signed copy of each month’s file is kept in the recovery account and offline with operations.
Invoking. The COO, or the duty manager as deputy, declares a disaster, reached by a phone tree printed for each on-call engineer. Orla leads technical recovery; Rania leads continuity and member communications.
Obligations and calendar. The funds are IORPs under DORA; their contracts ask Galena for annual test evidence. Quarterly timed restores of the member database; a payroll-window tabletop with trustee representatives in March 2027, which also rehearses the repeat-file fallback; the next full exercise in September 2027.
Now you
You are the Platform Lead at Gypsum, a fictional SMS gateway aggregator: 110 people, 35 engineers, a platform team of five. Gypsum sends 9 million messages a day for 2,400 business customers, peaking at 1,400 a second; 40% are one-time passcodes. It connects to 60 mobile operators over SMPP and to four partner aggregators. Everything runs in one cloud region across three zones. The routing and accounts database is 120 GB of Postgres; the message-state store holds 14 days of delivery receipts, 2.1 TB. Backups are nightly snapshots in the same region and the same account, kept for seven days. Arjun wrote them in 2024, now works on billing, and nobody has restored one end to end. Complication: 38 of the 60 operators accept traffic only from whitelisted IP addresses and need two to six weeks’ notice to add new ones, so a new region cannot carry their traffic on the day. Write Gypsum’s DR plan: the BIA questions you will ask, tiers, a strategy per tier, the gaps you already know of, and the first twelve months of exercises.
Self-check
You are the Platform Lead at Gypsum, an SMS aggregator with 110 people and 35 engineers. Its largest customer, a retail bank worth 11% of revenue, renews in five months and, after another provider's regional outage, has asked for 'multi-region hosting' in the contract. Mostafa, the account director, wants to say yes. Tarek, the CTO, asks you to choose. Today everything runs in one region; backups are same-account snapshots nobody has restored; 38 of 60 operators need weeks of notice to whitelist new IP addresses. Your team estimates a warm standby region at three engineers for two quarters and about 35% on the €61,000 monthly cloud bill (illustrative). What do you recommend?
- PAPER Weathering the Unexpected Kripa Krishnan, 2012
How Google runs its annual Disaster Recovery Testing exercise, what it found in people and process as well as systems, and how to start small. The best single argument for testing the plan, not writing it. Read: ACM Queue 10(9), September 2012; read the 'What to Test' section and the DiRT sidebar by Tom Limoncelli.
- POST Post-Incident Review on the Atlassian April 2022 outage Atlassian, 2022
A rare public review of a recovery that met its RPO and missed its RTO, with the restore approaches, step counts and timings. Read the section on why restoring was slow.
- DOC Disaster recovery options in the cloud AWS
The four strategies, backup and restore to active/active, with what each protects against. Useful outside AWS for the warnings on automatic failover and on replication copying corruption.
- BOOK Data Integrity: What You Read Is What You Wrote Raymond Blum and Rhandeev Singh, 2016
Why backups are judged by restores, how to design defence in depth against data loss, and why recovery must be exercised automatically to stay working. Read: Site Reliability Engineering, chapter 26.
- DOC Contingency Planning Guide for Federal Information Systems (SP 800-34 Rev. 1) NIST, 2010
The source of the MTD, RTO and RPO definitions and the business impact analysis method, with plan templates. Written for US federal systems and widely borrowed outside them.
- DOC Principles of Chaos Engineering
Five principles for experiments in production: a steady-state hypothesis, real-world events, a minimal blast radius. Read before turning DR drills into continuous experiments.
- POST Offline backups in an online world UK National Cyber Security Centre, 2019
Why at least one backup must be out of reach of the systems it protects, and how to achieve that with cloud storage. The ransomware row of your scenario table.
- DOC Regulation (EU) 2022/2554 (DORA) European Parliament and Council, 2022
The primary text for EU financial entities. Read Articles 11 and 12 on response, recovery, backup and testing, applying from 17 January 2025.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.