disaster-recovery-backup-testing
Installation
SKILL.md
Disaster Recovery & Backup Testing
A backup you have never restored is a hope, not a backup. Test recovery against stated objectives.
Define the targets first
- RPO (max tolerable data loss, e.g. 5 min) → sets backup/replication frequency.
- RTO (max downtime, e.g. 1 h) → sets automation and runbook needs.
- MTD/priority tiers per service (Tier 0: auth/payments … Tier 3: internal tools).
Test ladder (do all, regularly)
| Level | Exercise | Frequency |
|---|---|---|
| 1. Backup integrity | Job success, size sanity, checksum, encryption, offsite/immutable copy exists | daily automated |
| 2. Restore test | Restore latest backup to isolated env; row counts/checksums; app boots and passes smoke | weekly/monthly automated |
| 3. Point-in-time recovery | Restore to T-15 min before a deliberate bad DELETE; verify |
quarterly |
| 4. Component failover | Kill primary DB/cache/queue; replica promotes; app reconnects; measure RTO/RPO | quarterly |
| 5. Zone/region failover | Traffic shift, data replication lag, DNS TTL, secrets/KMS/IAM in DR region | 1–2× / yr |
| 6. Game day | Unannounced-ish full scenario incl. people, comms, access, runbook | 1–2× / yr |
| 7. Cyber recovery | Ransomware: restore from immutable/air-gapped copies into clean room | yearly |