Backups you have actually restored
Published 2026-11-06
A backup is a hypothesis
Having backup files is not the same as having backups. Files can be empty, truncated, encrypted with a key nobody can find, or dumps of the wrong database. Until you have restored one into a clean environment and looked at the data, a backup is a hypothesis about what you would be able to recover.
Make freshness visible
The most common failure is quiet: the job stops running and nobody notices for weeks. A freshness watchdog solves it. After each backup, the job records a timestamp. A separate check compares the age of the newest backup of each database against an expectation, such as a daily backup that should never be older than thirty hours, and raises an alert when the age exceeds it.
Keep an explicit list of what must be backed up. When you add a new application with a database, adding it to the expected list should be part of the launch checklist, otherwise the watchdog cannot tell you about something it does not know exists.
Store them somewhere else
A backup on the same disk as the data protects against a mistaken delete but not against a failed disk, a compromised host or a deleted cloud account. Copy backups to separate storage, ideally in a different account or at least with different credentials, and use lifecycle rules to expire old copies so cost stays predictable.
Rehearse the restore
Pick a schedule, quarterly is realistic for a small operation, and restore the latest backup into a scratch instance. Verify row counts on a few key tables, open the application against it and write down how long it took and what was awkward. The notes become the runbook you will want at three in the morning.
Test the unhappy variants too: restoring one table, restoring to a point before a bad migration, and restoring when the original host is gone. Each reveals different assumptions.
Backups reduce risk, they do not remove it
Even good backups have a gap between the last copy and the incident. For destructive operations, take a fresh snapshot first, name the tables you are about to touch and have a rollback plan written before you start. The backup is the last line of defence, not the plan.