r/linuxquestions • u/Nufrek • 24d ago
How do you test that a Linux desktop backup can actually be restored?
A successful backup job doesn’t necessarily mean a usable restore. What does your routine restore test involve: a few files into an empty directory, a home-directory restore in a VM, or a full bootable recovery?
Which checks tend to catch real problems—ownership, permissions, symlinks, application settings? Curious about a test that’s practical to repeat rather than a one-off disaster recovery drill.
1
Upvotes
1
u/GiggleSamurai 24d ago
A cheap repeatable test is restoring your home into an empty folder and running `rsync -aHAXni --checksum --delete ~/ /restore/you/`: every line it prints is a file, permission, owner, symlink or xattr that doesn't match. If you use restic or borg, add `restic check --read-data-subset=10%` or `borg check --verify-data` now and then to catch corrupt data in the repository itself.