devops

Backups You Can Actually Restore

backupsdevopsdisaster-recoverysretesting
Gerald VillorenteNovember 4, 20268 min read
Backups You Can Actually Restore

Everyone backs up. Almost nobody test backup restores, and that gap is where disasters hide. An untested backup is not a safety net. It is a hope with a file extension: possibly empty, possibly corrupt, possibly three years old, possibly encrypted with a key nobody remembers. This guide fixes that with one repeatable habit, the quarterly restore drill, plus what verified means in writing, how to automate the boring parts, and who owns what when restore day arrives for real.

The principle is short. A backup is only as good as its last successful restore. Everything below exists to make that sentence true on paper, on a schedule, with your name next to it.

Here is where we are going:

  1. Why backups fail silently

  2. The restore drill, step by step

  3. What verified means in writing

  4. Automating the boring parts

  5. Who owns what when it counts

  6. Databases, files, and full systems restore differently

  7. Connecting backups to response and patching

Why Backups Fail Silently

Backup jobs succeed loudly and fail quietly. The nightly job emails "completed" while writing to a full disk, backing up the wrong directory after a migration, or encrypting with a rotated key nobody stored. Nobody notices, because nobody looks at a backup until the day everything is on fire. By then the gap between "we have backups" and "we can restore" is measured in panic.

The failure modes repeat across every team I have seen. Untested scope: the job backs up the database but not the uploaded files, or the code but not the config, and the missing piece is discovered mid-crisis. Rotted credentials: the storage key, passphrase, or service account changed two years ago and the restore path still references the old one. No owner: everyone assumes someone checks, so no one does. Silent corruption: the files exist and the sizes look right, but the archive is truncated or the dump is mid-transaction garbage.

Each of these is invisible until restore day. That is the whole argument for a drill. You are not testing whether backups run. You know they run. You are testing whether they restore, which is a different question with a different answer.

The Restore Drill: Test Backup Restores Quarterly

Once a quarter, pick one system and restore it somewhere safe. Staging is ideal: real enough to prove the restore works, isolated enough that mistakes do not matter. The drill has five steps and fits in an afternoon.

First, inventory what "this system" actually needs: database, uploaded files, configuration, secrets, and the exact software versions. Write the list down before touching anything. If you cannot enumerate it, your backup scope has a hole, and finding out now is the point.

Second, pull the backup and inspect the package before restoring. List the archive contents and confirm the expected files and sizes are present:

tar -tzf backup-2026-10-01.tar.gz | head -n 20

It lists the archive without extracting anything, so a truncated or wrong-scope backup shows itself in seconds. Pair that with a checksum comparison against the value recorded at backup time. Mismatched checksums mean the file changed in transit or storage, and restoring it would be building on sand.

Third, perform the restore into staging exactly as the runbook says, or write the runbook as you go if none exists. Time the whole thing. Restore duration is the number your incident plan quietly depends on, and most teams discover it is triple what they assumed.

Fourth, verify the app actually works, not just that files exist. Boot it, log in, load the critical pages, run the smoke checks. A restore that produces a dead app is a failed drill, and failed drills are the most valuable kind because they are cheap.

Fifth, write down what broke, fix the backup or the runbook, and schedule the next drill. The drill is a loop, not an event. Each quarter gets faster as the rough edges disappear, and the log of past drills becomes the evidence you show auditors, clients, and your future self at 2am.

What Verified Means in Writing

"Verified" without a definition is a feeling. Give it one: a backup counts as verified only when a dated log entry records the restore date, what was restored, how long it took, what worked, and what needed fixing. Anything less is optimism with paperwork.

Keep the log where the team can find it, next to the runbooks it references. Each entry links the backup tested, the staging target, the verification checks run, and the follow-up tickets filed. When an auditor, a client, or a new hire asks "do our backups work," the answer is a page of dated evidence, not a confident tone.

Define the bar for each system tier, because not everything deserves the same effort. Tier one systems, the ones whose loss stops revenue, get full quarterly restores with boot verification. Tier two gets file-level spot checks and checksum verification. Tier three gets a documented decision that it is reproducible from scratch, which is itself a form of verification. Writing the tiers down stops both neglect and gold-plating.

Automating the Boring Parts

The drill finds problems quarterly. Automation finds them within hours. Neither replaces the other, so do both: humans judge, machines watch.

Automate the checks a script can own. Verify every backup job actually produced a file above a minimum sane size. Compare checksums automatically and alert on mismatch. Expire old backups on purpose so storage never fills silently, which is one of the most embarrassing outage causes in existence. Test-restore the smallest tier automatically if your platform allows it. Each automated check is one fewer thing the quarterly drill has to discover by hand.

Alert on backup failures the way you would alert on anything user-facing, following the same paging discipline from the alert fatigue guide: a failed backup pages nobody at 3am unless data loss is imminent, but it must ticket loudly for the morning. Silent backup failures are exactly how teams learn about gaps during disasters.

Keep one manual step on purpose: the human judgment of whether the restored app actually works. Automation confirms files and checksums. Only a person confirms the app boots, logs in, and serves. Never automate away the final eyeball check, because the gap between "files restored" and "system works" is where the expensive surprises live.

Who Owns What When It Counts

Every backup needs an owner, and the owner needs a backup person. The owner verifies the drill happens each quarter, keeps the restore runbook current, and knows where the encryption keys live. The second person shadows once a year so the knowledge survives vacations and resignations. Unowned backups rot, and single-person backup knowledge is a resignation away from useless.

During an actual restore, borrow the incident roles from the outage playbook: one commander deciding, one fixer executing, one communicator updating. Restores under pressure fail the same way outages do, through parallel theories and silent work, so run the same discipline. The person who practiced the drill should execute it, because familiarity beats seniority when the steps matter more than the judgment.

Afterward, feed the results back into the system the same day: update the runbook with what differed, file tickets for every gap found, and log the verification entry. A restore that teaches nothing is an incident survived by luck. A restore that updates the runbook is an incident that cannot recur the same way.

Databases, Files, and Full Systems Restore Differently

Not all restores are equal, so drill the kind you actually have. Database restores hinge on consistency: a dump taken mid-transaction may restore cleanly and still be wrong, which is why point-in-time recovery and tested dump flags matter more than dump size. Practice restoring to a scratch database and running the app's own health checks against it, not just confirming the import finished.

File restores hinge on completeness: permissions, ownership, symlinks, and the files nobody remembers, like uploaded content outside version control. Restore to a scratch path and diff against expectations file by file at least once, so the first time you learn about the forgotten directory is not during a crisis.

Full system restores hinge on boot order and secrets: the image boots, but the app needs environment variables, certificates, and service credentials that live outside the image. Keep a written list of everything a fresh system needs beyond the backup itself, and verify the list during the drill by building from it. The list is part of the backup, even though it is not in the archive.

Connecting Backups to Response and Patching

Zoom out and backups complete the trilogy this blog has been building. The patch workflow starts with a verified backup because every change is safer with an exit. The outage playbook assumes a rollback target exists, which is a backup by another name. The runbook shelf holds the restore procedure next to the response procedures. Each piece assumes the others, so build them together.

Start this quarter. Pick the system whose loss would hurt most, schedule one afternoon, and run the drill. Time it, log it, fix what breaks, and file the rest. One verified restore beats a year of confident assumptions, and the log entry you write at the end is the first proof your backups were ever real.

Featured image: Photo by panumas nikhomkhai on Pexels.

Related reading

Testing Strategies That Actually Catch Bugs
devops

Testing Strategies That Actually Catch Bugs

November 9, 2026
best-practicesci-cdcode-qualitydevops
Read →
Your First CI Pipeline: From Git Push to Deployed
devops

Your First CI Pipeline: From Git Push to Deployed

November 9, 2026
automationci-cddevopsgithub-actions
Read →