I like backup checks because they catch boring failures early.
Did the expected file appear? Is it recent? Is it large enough to be plausible? Does its name match the backup class we intended to create?
Those questions are useful enough that I built a small tool around them. They are still not the question that matters most.
Can the system be restored?
A fresh, correctly named, large backup can fail that test.
What freshness checks can prove
A lightweight backup monitor can inspect a directory and verify:
- At least one matching artifact exists.
- The newest artifact is within the allowed age.
- Its size is above a minimum threshold.
- The scheduled job appears to be producing the expected file pattern.
This catches missing cron jobs, wrong paths, zero-byte output, stale mounts, and accidental naming changes.
It is operationally valuable because it turns silent absence into a failing check.
But it does not read the database pages, validate every object, recover encryption keys, or start the application against restored state.
A backup contains assumptions
Every backup depends on more than the file itself:
- The correct restore tool and compatible version.
- Compression or encryption keys.
- Required extensions and roles.
- Schema ownership and permissions.
- External blobs or uploads stored elsewhere.
- Environment configuration.
- Application code compatible with the restored schema.
- Knowledge of the correct restoration order.
Losing any one of these can turn a valid archive into unusable data.
That is why copying backups to another machine is necessary but insufficient.
Define recovery objectives honestly
Recovery point objective answers how much data loss is acceptable. Recovery time objective answers how long restoration can take.
Both should be tied to an actual failure scenario.
If a database backup runs every 24 hours, the system cannot honestly promise a one-hour recovery point without another replication or log-archiving mechanism. If the restore procedure takes six hours on current data, a thirty-minute recovery time is not a plan.
The numbers should come from the mechanism and the drill, not from a slide.
Restore into a clean environment
Testing a restore on the same machine can hide dependencies that will disappear during a real host failure.
I prefer a clean, isolated environment with explicitly supplied tools and configuration. The drill should not have access to the live database or production credentials unless the procedure genuinely requires them.
A typical database drill looks like:
textselect backup artifact -> verify checksum and catalog -> create clean database environment -> restore roles, schema, and data as required -> run structural checks -> start compatible application version -> exercise critical read and write journeys -> record time and failures -> destroy isolated environment safely
The application test matters. A database can accept the restored data while the application fails because an extension, migration, blob store, or secret is missing.
Test more than the newest backup
The newest file is the obvious candidate, but retention problems can hide in older generations.
I periodically test:
- The newest routine backup.
- A backup from another retention tier.
- Restoration after a relevant application or database upgrade.
- Recovery when one dependent artifact is intentionally absent.
The last case reveals whether the runbook explains where the missing artifact comes from or merely assumes it exists.
Record evidence from the drill
A useful restore record includes:
- Backup identity, time, size, and checksum.
- Restore environment and tool versions.
- Start and completion times.
- Rows or objects checked.
- Application revision used.
- Critical journeys exercised.
- Data loss relative to the simulated failure point.
- Manual steps and unclear instructions.
- Follow-up owners and dates.
"Restore successful" is too compressed to help the next person reproduce it.
Protect the backups themselves
Backups concentrate sensitive data. They need access control, encryption, retention, deletion, and offsite isolation appropriate to the original system.
A compromised application host should not automatically have permission to delete every historical backup. Otherwise ransomware or an operator mistake can remove the recovery path at the same time as production.
The restore process also needs safe handling. A temporary drill database should not become an unmonitored copy of production data.
Use the small checks and keep the large promise honest
I still run freshness and plausibility checks. They are fast, automatable, and excellent at catching routine failure.
I simply label the evidence correctly:
textfresh artifact -> backup job appears healthy validated catalog -> artifact is structurally readable successful drill -> recovery path worked under tested conditions
Only the last one supports a recovery claim.
The backup is an ingredient. The recovery plan is the practised ability to turn that ingredient back into a working system.