Last Minute Notes
  • Github
  • Docs
  • Learn
    @sayanstwt
Lessons
0/37 done
  • Timeouts, Retries & Breakers
  • Multi-Region Design
  • Cells & Shuffle Sharding
  • SLIs, SLOs & Error Budgets
  • Observability
  • Deployment Strategies
  • Backups & Disaster Recovery
Learn/System Design/Reliability & Operations

Backups & Disaster Recovery

6 min Intermediate 6 steps

RPO and RTO, and the backup strategies that hit them.

-6h-4h-2h0h2h4h6hservicerunningdisasterdisaster
normal slow / failed marker
In this lessonStep 1 of 6
  1. The problem
  2. RPO
  3. RTO
  4. Strategies
  5. Safe copies
  6. Recap
Step 1 / 6problem

Something big will fail

A region goes down, a bad migration corrupts data, or ransomware encrypts everything.

Two numbers drive every recovery plan: how much data you can lose, and how long you can be down.

Key idea

Decide the targets first. Then pick the cheapest strategy that meets them.

←→ step·R replay·Space pause

You'll learn

  • RPO: how much data you can lose
  • RTO: how long you can be down
  • Match a recovery strategy to the targets
  • Why untested backups are only hypotheses
Read the full notesReliability and Operations, 4