Course map

Topic 195 / Core

Disaster recovery, RTO and RPO: recovery drills, business continuity

Chapter 12.2 · Disaster Recovery

What and why

Failover (→ 194) handles one unit or site dying while its redundant twin is ready and nearby; disaster recovery (DR) handles the catastrophic case — a whole site, region, or provider becomes unusable — and is driven by two numbers negotiated with the business, not chosen by engineers alone: RPO (recovery point objective — the maximum acceptable data loss, measured in time since the last recoverable point) and RTO (recovery time objective — the maximum acceptable time to restore service). Builds on: → 194 (redundancy and failover: active–passive, active–active).

Diagram

DR tiers, roughly ordered by cost and the RTO/RPO they buy:

Tier Mechanism Typical RTO Typical RPO
Backup-restore restore from backups (→ 80) onto new infrastructure hours since last backup
Pilot light minimal standby infra kept running, scaled up on disaster tens of minutes since last replication
Warm standby a smaller but live replica, promoted on disaster minutes seconds to minutes
Multi-site active–active full capacity live in multiple sites already near-zero near-zero

How it works

  1. Get the business to state its real RPO and RTO in concrete units (e.g., "lose at most 15 minutes of data," "be back within 1 hour") — these two numbers, not instinct, select the tier.
  2. Pick the cheapest tier from the diagram that meets both numbers; each tier below it costs roughly an order of magnitude more to buy the next order-of-magnitude improvement in RTO/RPO.
  3. Build and document the recovery runbook for the chosen tier — who does what, in what order, to go from disaster declared to service restored.
  4. Schedule recovery drills on a fixed cadence: restore tests (→ 80, proving a backup is actually usable) and full failover exercises (proving the runbook works end to end, not just on paper).
  5. Place DR inside business continuity: the people who execute the runbook, how they're notified and reached, and which upstream/downstream dependencies (vendors, other teams) must also be part of the plan — data recovery alone doesn't restore a business function if the people or dependencies needed to run it aren't accounted for.

Practical example

(illustrative). A service is given RPO = 1 hour and RTO = 4 hours. Backup-restore, run hourly with a measured 3-hour restore time onto fresh infrastructure, meets both: data loss is bounded at 1 hour (the backup interval) and restore finishes inside the 4-hour RTO. If the business later tightens RTO to 15 minutes, backup-restore's 3-hour restore time no longer qualifies — the tier must move up to warm standby or further, at correspondingly higher standing cost, to buy that order-of-magnitude faster recovery.

When to use it

  • Use the tier the numbers require, not the one that sounds impressive: over-buying a multi-site active–active DR tier for a system whose real RTO/RPO tolerance is hours wastes standing infrastructure cost every day it isn't needed.
  • Avoid treating a DR plan as done once written: an unexercised plan is assumed broken until a drill proves otherwise.
  • Failure scenarios: a backup that has never been restored turning out to be corrupt or incomplete exactly when it's needed (→ 80); a runbook that references a person who left, a tool that was decommissioned, or a step that silently assumed manual access no longer granted; a regional disaster that also takes out the one on-call engineer's ability to reach the system, because business continuity never considered that dependency.
  • Simpler alternative: for a system whose real-world cost of extended downtime is low, backup-restore alone, drilled regularly, is both the simplest and the cheapest tier — resist pressure to build a fancier tier without a stated business reason.

Practice

(process kind — fill the template on a small real system; 20–30 min). For a system you know (or Project 1's task app), state a concrete RPO and RTO, pick the matching tier from the diagram, and write a 5–8 step recovery runbook for it. Then identify one business-continuity dependency (a person, a vendor, a notification channel) the runbook currently assumes without stating. Done when the runbook, read cold by someone else, tells them exactly what to do first, second, and third.

Key takeaway

RPO and RTO — not instinct — select the DR tier, and an unexercised DR plan is assumed broken. Done when you can: pick a DR tier from stated RPO/RTO numbers and name the business-continuity dependency a data-only plan would miss. Used next in → 196 (multi-region traffic and failover, orchestrating the failover this topic plans for), → 80 (backup and restore, the mechanism behind every tier), → 207 (production readiness, where a drilled DR plan is a launch gate).

References

Site Reliability Engineering, 2nd edition; The Site Reliability Workbook — see references.md.

Source directory

Search the guide