3 ms·
How do you automatically test restores?
by soziawa 6y ago
How do you automatically test restores?
- avian 6y agoNot the parent, but my homebrew backup script first makes the backup and then attempts to restore a canary file. If that fails it raises the alarm. It's not perfect. I can imagine a scenario where the canary is restorable, but some other important files aren't. However it certainly protects against cases where a bug in the backup software makes a completely unreadable snapshot (which has happened to me before).
- Spivak 6y agoI wouldn't be so harsh on your homebrew solution, deja-dup uses the same strategy to verify backups.
- SturgeonsLaw 6y agoI use Duplicati to manage the offsite backups, it comes with a command line tool which can pull random chunks from the storage bucket, decrypt them, and check the file hashs against expected values