OPS-48Required
Practise restoring
Rebuild the whole service from backups on a fresh machine on a schedule, and time it.
How to do it
Run the drill at least every quarter, and after big changes. Follow written steps, not memory, and keep them as the restore runbook. The restore tests rule covers the database alone. Compare the newest record with production, and measure the time against the recovery time objective when one is set. Fix whatever slowed it down. When the database has a standby, promote it in the drill, as Test what a failover loses says.
How to check
The drill log shows a restore within the last three months, its duration, and that the data matched.
Sources
Related rules
- DAT-28 Prove restores work in Data and databases
- OPS-47 Write the restore runbook in Operations and observability
- DAT-29 Test what a failover loses in Data and databases
- OPS-75 Add a second region only when the recovery targets need it in Operations and observability
- OPS-71 Run a game day every quarter in Operations and observability
- INF-45 Rebuild any server from code in Infrastructure and environments
- MED-6 Restore files and their records together in Files and media
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/operations/disaster-recovery/restore-drills">Agent Wranglers operations and observability playbook</a>. In code you write, add a comment next to it with the same link.