candide-guevara / btrfs_to_glacier

Makes periodic snapshots of my btrfs volumes and upload them to Glacier.
GNU General Public License v2.0
0 stars 1 forks source link

Add a canary to validate backup longevity #3

Closed candide-guevara closed 1 year ago

candide-guevara commented 3 years ago

Problem

Solution

Implement a "canary" backup/restore that runs before the real backup.

If there is an error when restoring ALL snapshots from the canary, then there is a compatibility issue. Probably the best is to stop and start a new snapshot chain from scratch.