3 ms·
Not 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 pe
by avian 6y ago
Not 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.