Restore and Verification Cheatsheet
# list snapshots first
restic snapshots
# restore latest snapshot to target
restic restore latest --target /restore/lab
# restore specific snapshot ID
restic restore <snapshot-id> --target /restore/specific
# restore only selected path
restic restore latest --target /restore/lab --include "/srv/app/config"
# quick verification
ls -la /restore/lab
# verify repository health after operations
restic check
Common Gotchas
| Gotcha | What happens | Fix |
|---|---|---|
| Restoring into live paths | overwrites production data | restore to /restore/... first |
| Wrong snapshot | restore is inconsistent | filter with --tag and --host before restore |
| No verification | restore failures go unnoticed | ls, basic app start, or checksum checks |