Use this when proving systems can be restored within the agreed time.
Recovery Testing
Recovery testing restores real systems from backup into an isolated environment and measures whether they work and how long it takes, proving that RTO and RPO targets can actually be met.
1. Recovery testing proves you can restore services, not just files.
2. Full app restores in isolated environments.
3. Measure RTO.
4. Include dependencies (AD, DNS).
5. Update runbooks.
plan → restore service → verify → measure → improve
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Testing only file restores.
- Not measuring restore time.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Restore whole systems, not only files.
- Measure time and compare with the RTO.
- Test in an isolated environment.
DR/restore drill report— measured RTOapplication smoke test— works after restorerunbook updates— lessons
ReferenceHow it works1 section · depth on demand
How it works
Recovery testing exercises the full restore process on a schedule: pick systems, restore them in isolation, check that applications work, and measure the time and data loss against the RTO and RPO. It also tests the people side — runbooks, credentials, access to backup systems during an outage.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
A recovery test measures whether you can meet RPO and RTO
Recovery testing differs from a backup success check. It restores into a working state and times it.
| Test level | Proves | Frequency (typical) |
|---|---|---|
| Repository check with data read | Stored data is readable | Weekly, rotating subsets |
| File restore and compare | Paths, keys and permissions work | Monthly |
| Application restore (DB, service) | The data is consistent and usable | Quarterly per critical system |
| Full system or site recovery | Runbook, people and dependencies work | Yearly |
Data-level checks with restic
The restic documentation describes restic check --read-data-subset=n/t, which checks group n of t. Running n = 1…t over time reads the whole repository.
$ restic check --read-data-subset=$(( $(date +%u) ))/7
$ restic restore latest --host db01 --target /recovery-test --include /backup/dumps
$ pg_restore --list /recovery-test/backup/dumps/app.dump | head
$ createdb app_restoretest && pg_restore -d app_restoretest /recovery-test/backup/dumps/app.dump
$ psql app_restoretest -c 'select count(*) from orders;'
Record for every test
| Item | Example |
|---|---|
| System and data set | db01 / app database |
| Snapshot used and its age | 4b2a91c0, 9 h old (achieved RPO) |
| Time to usable service | 47 min (compared with the RTO) |
| Problems found | Missing key in the runbook, slow link |
| Fix and owner | Updated runbook, ticket |
Make it realistic
- Restore into an isolated network or environment so production is not touched.
- Test with people who did not set up the backup, so missing knowledge shows.
- Include credentials, encryption keys and the documentation in the test. These are often what is missing in a real incident.
Illustrative example (not a system capture).
Test plan
| Frequency | Test |
|---|---|
| Weekly | Automated VM boot test |
| Monthly | File and DB restore |
| Quarterly | Full application restore |
| Yearly | DR exercise |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Backup Strategy → Recovery Testing. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/34/r1/final · confidence 94%