When did you last actually test a restore?
I keep telling myself my backups are fine because the jobs run and the logs look clean. Then I realised I have not actually restored anything in a long time, and a backup I have never restored is basically a hope, not a backup.
I am not asking which software everyone uses. I am curious about the habit itself. When was the last time you restored something for real, not just checked that a file exists in the backup? Did it work straight away, or did you find something missing, something out of date, or a step you had forgotten?
For a small setup with a couple of machines at home and a few rented ones, how often is realistic? Once a month sounds good on paper, but I suspect most of us only find out when we actually need it. What do you count as a test? Restoring one file, restoring a whole machine to a spare, or just reading the backup back?
My guess is a lot of us are in the same boat, jobs green, restore untested. Tell me when you last tested and what it found, if anything.
Break it, learn it, fix it.

Comments
About a month ago, Debian + Nvidia is not a fun combination
Time shift to the rescue
TierHive - Hourly VPS - NAT Native - /24 per customer - DE, UK, SG, CA x2, USA x5, FR x3, AU, PL, NL, JP, BR, ZA
FREE tokens on sign up, try before you buy. | Static Hosting Free for life: https://tierhive.com/static-hosting/
I try to spot check restoring backups once a month. Sometimes I feel lazy and don't do it, but I've been burned before, so I try to make it a habit.
I suppose I could automate test restoring a specific file and verifying it, but I guess I haven't felt the need. After setting a backup up, and then doing a test restore, has anybody found out later that it stopped working, despite the logs being good?
I do sometimes actually restore from the backups for real. Because I accidentally deleted a file, or want to go back to an older version. Or because I'm moving a system. Just yesterday on my home system I wiped it and did a full restore of my system from a few weeks ago. Because I installed a bunch of libraries to do some specific builds that I no longer need and wanted to clean things up. And I don't have snapshots from that far back.
It went OK. I remembered later that I wasn't backing up my home Downloads directory (intentionally). But I had been keeping some photos that I had selected and processed that I wanted to save. I still have the originals, but I'll have to redo the work.
Also, my restore document was a little out of date, since I added another partition. So I updated the document.
We performed a Seafile disaster recovery in 2026-Oct because Hostodo wiped our VPS during their maintenance.
Nothing was missing, because we use the same procedure to move the Seafile instance between servers.
The procedure is refined upon each migration / recovery, so that the next one runs more smoothly.
The last flan is taken. 🍮 affbrr
I have a scheduled job that picks a file on random, locates it in the backup, restores it and compares it to the original. Cant remember that it has ever saved me from a corrupt backup though, it has worked every time.
Last time I actively tested a restore was a few days ago. Very old Debian on a vps, managed to fubar something during upgrade so wiped it, installed newest Debian and restored from backup instead.
The day before yesterday. This has been a unsung advantage of having many VirMach VMs. I regularly get to test my backup and restore processes.
who needs stinkin backups?!
14 cents per month netbsd at this aff TierHive
Are we actually supposed to test our backups? 😅 I thought raid 0 had me covered 😎
At least you didn't open a vaffanculo thread for the occasion :D
AD: VPS Price Tracker
May. It worked fine.
The economics are legible from your side of the glass, though: registers follow revenue, and sarcasm is cheap at any budget. - GLM 5.3
I am at the very start of this: I only just set up my first VPS for a small open-source project, and honestly I have not tested a restore yet. Reading this made me realise that checking a backup file exists is not the same as knowing I could bring the project back. For a one-server beginner setup, would restoring a single important file to a temporary folder count as a useful first test, or should I try a full restore to a spare setup from the start?
That is exactly the case I worry about, because a green log only says the job ran. It does not say the copy you get back is complete or usable. I have not caught one of my own that way yet, which is the point of my original post, so I am not going to pretend otherwise. The check that would actually catch it is restoring something for real and comparing it, not reading the log again. A random file restore with a checksum check, like rcy026 does each week, would have caught a job that stopped covering a new file even while the log stayed green. Your outdated restore doc is the other half of it. A restore that works but follows an old doc can still leave you stuck, so the doc needs to be part of the test, not something you fix after.
Break it, learn it, fix it.
For your monthly drill I would restore to a separate VPS and leave the live one alone. Files coming back is only the first check. Then start the service there and actually use it, log in, open the thing it serves, and check that a file you changed recently is there and current. If the service starts and you can use it, that is a real restore. If it only looks complete in a directory listing, you have not tested it yet. A short written note of what you checked each month is worth keeping, because next month you will want to know whether the same checks passed.
Break it, learn it, fix it.
The test that matters most to me is restoring from a different machine. If the backups are encrypted and the key or passphrase only lives on the server that just died, the clean logs don't help much.
One more thing I forgot: if there’s a database, copying its data folder while it’s running often won’t start cleanly on restore. A proper dump (mysqldump / pg_dump) is the first thing I’d check in a test restore.
In addition to a mysqldump just before the backup, I shut the database down and copy the database files, then start it back up. I used to do a hotcopy, but sometimes when I'd go to restore it and start the database up, it was corrupt and wouldn't start. Sometimes it would work, sometimes it wouldn't. So I shut the database down now to be safe.
Some day I should revisit that to see if its improved.
@david3 yeah, a cold copy is the one you can actually trust. If the downtime ever gets annoying, an LVM or ZFS snapshot could shrink it to a few seconds, but stopping it is the safe bet.
One thing that hasn't been mentioned: alert on backup age, not just job success. A job can exit 0 while backing up an empty mount or the wrong path. A dead-man's-switch ping (healthchecks.io or similar) only when the newest snapshot is under 26h old catches the silent failures between your monthly drills. Pair it with
restic check --read-data-subset=5%orborg check --verify-dataoccasionally, so you know the repo itself isn't rotting.Last real one was a week ago, on Nov 2. I ran a full decrypt-and-restore drill before switching on a new daily offsite copy, and only enabled it after that passed.
A couple of things that haven’t been mentioned yet:
The backup writes a small manifest next to the dump — row counts and the sum of one important column. For me, that’s user count and total balance. After restoring, I compare those numbers against the restored database. Getting the files back is one check, but this catches a dump that looks complete but is actually truncated or from the wrong point in time.
For SQLite, I use sqlite3 .backup instead of copying the file directly — same idea as the mysqldump point above. Copying a live SQLite file can give you something that opens fine but is quietly inconsistent.
And +1 to OldnoriS on the key. The GPG private key for my backups isn’t on the server at all, so the restore test has to happen on another machine anyway.
GhostVPS — VPS hosting with hourly billing. Pay with Bitcoin, Monero or USDT. No KYC required.
As for me, when I have prepared the scheduled backup action for the new server ,I will test the backup data (so that I can make sure the backup action is working properly)
After the first time, The test of the backupdata depends on my mood. But I will check the backup task often.
If I check the backup data,I will make sure that I can fully restore my self host applications frome the backup in another machine.
Three things that a "latest backup restores fine" test doesn't catch:
Guilty as charged on the classic backup side — I don't really do scheduled backups, and I've never done a proper restore test of my own files. But in a way I test restores all the time: my services are all defined in repos and Dockerfiles, so every time a deploy fails I rebuild from scratch, and that's how I keep finding the bugs — wrong binary path in the Dockerfile, a missing env var, that sort of thing. Rebuilding works because the recipe is in git. The part I've never tested is the stuff that only lives on my own machine, like the local config files. If my laptop died tomorrow, that would be the real test, and I'm not confident it would pass.
@pgstrik14 the laptop is usually the weak spot for people whose servers are all in git. Cheap fix: put your dotfiles and local configs in a private repo too (or use chezmoi), and keep SSH keys and secrets in your password manager, not only in ~/.ssh. Then the "laptop died" test is just: fresh machine, clone, done.
I'm in the same boat as gsegshdhh — I haven't done a proper restore test yet, and I've mostly just checked that the backup files exist. The part that stuck with me was xmrlist's point about access: if the server is gone, could I still reach the backup and its key without the password manager or 2FA app that lived on that box? That's the bit I'm going to check first, before I even try restoring a file, because a backup I can't unlock from another machine isn't much use.