A finished run can still be wrong.
Confidence comes from checks, not from an ok exit alone. Use verify_backup on the archive, then test_restore into empty scratch when you want restore confidence recorded.
Two different checks
verify_backup stays inside the repository. It runs restic's data check, lists the snapshot, and compares that listing to the run's manifest: every captured path and size, the database dump when one was captured, and manifest.json. Extra files or directories in the snapshot fail the check.
test_restore extracts into an empty scratch directory and compares path, size, and SHA-256 to the manifest. That pass is what sets restore confidence on the site. It refuses the live site root and the restic repository. Details are on the Restore page.
Scratch match proves the archive. It does not boot a CMS, and it does not prove the live server still matches today.
Verify a run
./bin/backupbinder list_backups --id SITE
./bin/backupbinder verify_backup --id SITE
./bin/backupbinder verify_backup --id SITE --run RUN
Omit --run to check the latest successful run. The JSON reports whether restic's check passed and whether the manifest file is present on disk under var/manifests/.
Compare two runs
./bin/backupbinder compare_backups --id SITE --left RUN --right RUN
Use the run ids from list_backups. Comparison is for reading what changed between two successful archives, not for proving either one is sound — run verify_backup on each run you care about.
What “good” looks like
- A backup finished and wrote a manifest.
verify_backuppassed for that run.test_restorepassed into empty scratch, so restore confidence is a time instead ofnever.
If a run failed, or a destination copy failed after a local snapshot, start with Trouble and explain_failure.