Interview Prep/SRE & Reliability/Backup & Disaster Recovery

Plan a DR drill for a Kubernetes-based application with a PostgreSQL database.

IntermediateScenarioBackup & Disaster Recovery
Answer

Situation read → Validate both the stateless and stateful recovery paths, and measure RTO/RPO.

What I'd do →

  1. Define objectives: target RTO and RPO.
  2. Prepare: backups (Velero for cluster objects, pgBackRest or RDS snapshots for data), DR environment, runbooks.
  3. Execute: simulate primary failure, restore the cluster via GitOps and Velero, restore the database to a point in time.
  4. Validate: run smoke tests, check data consistency and the latest transaction timestamp to measure actual RPO.
  5. Measure actual RTO from start to serving traffic.
  6. Write a report and fix gaps.

Why → Drills reveal gaps in procedures and assumptions.

Interview tip → Measure actual RTO and RPO, not just "it worked".

All SRE & Reliability questions Roadmap: Backup & disaster recovery

More on Backup & Disaster Recovery