Use it regularly to prove backups, and after any change to the backup setup.
Restore Verification
Restore verification proves a backup can be restored: restore to a test location, compare checksums and metadata, and start the application on the restored data.
1. Restore a sample to a test path.
2. Compare: sha256sum or rsync -n -c against the source.
3. Metadata: getfacl, ls -lZ.
4. Application starts and reads the data?
5. Record time taken and result.
backup selected → restored to test target → content and metadata compared → application test → result recorded
For Backup & Restore → Restore Verification, continue with the first unproven Topic check: Select a specific restore point and document the recovery objective and expected target state. If that boundary is healthy, advance to the adjacent check: Verify the recovery media is readable before destructive replacement of the original target. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
recovery objective → restore-point identity → integrity/readability → isolated restore → ownership/ACL/xattr/link verification → service/config validation → original workload → recovery evidence
Healthy evidence: the intended restore point is readable, restored objects match required identity and metadata, services start from restored state and the original workload passes
Step 2 Verification and output interpretation Verify boundary
Existing fast checks for this Topic. - Select a specific restore point and document the recovery objective and expected target state.
- Verify the recovery media is readable before destructive replacement of the original target.
- Restore to an isolated or controlled target and compare required data plus metadata.
- Start required consumers and repeat the original user/service transaction, then record pass/fail evidence.
Verification chain. recovery objective → restore-point identity → integrity/readability → isolated restore → ownership/ACL/xattr/link verification → service/config validation → original workload → recovery evidence
Step 3 Commands Verify boundary
tar -tzf /backup/home.tgz | head
restic restore latest --target /tmp/restore --include /etc
diff -r /tmp/restore/etc /etc
Step 4 Failure modes and next checks Narrow the fault
Suspicious evidence: restore succeeds into the wrong location, metadata is incomplete, dependencies/secrets are absent, service starts with degraded state or no workload-level test is performed
Step 5 Common mistakes Narrow the fault
- Verifying only that the backup file exists.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
An untested backup is a hope. Test full-system and single-file restores. Time the restore against the RTO. Check permissions, ACLs and SELinux labels after restore (restorecon -R).
rsync -aHAX --delete --dry-run <src> <dst>— preview a metadata-preserving synctar --acls --xattrs -czf <file> <dir>— archive with ACLs and xattrssha256sum <file>— checksum to verify copiessystemctl list-timers— scheduled backup jobs
ReferenceImportant terms & boundaries5 sections · depth on demand
What this shows and what it does not
A restore tool returning success shows only that the operation completed; recovery is resolved when the restored target satisfies the documented acceptance criteria and the original workload succeeds.
In depth
A restore is verified only when it is compared
Restore to a separate location, then compare against the source (or a known-good reference) by content:
$ rsync -a --dry-run --checksum --itemize-changes /srv/data/ /restore/test/srv/data/ | head
>fc.t...... projects/plan.ods
.d..t...... projects/
$ rsync -a --dry-run --checksum --itemize-changes /srv/data/ /restore/test/srv/data/ | grep -c '^>f'
1
The rsync manual documents --checksum (compare file content instead of size and modification time), --dry-run (trial run, no changes) and --itemize-changes (per-file change summary).
| Itemize code | Meaning |
|---|---|
>f+++++++++ | File missing in the restore |
>fc....... | Content differs (checksum) |
.f...p..... | Permissions differ |
.f....o.... | Owner differs |
cL+++++++++ | Symlink missing |
No output with --checksum --dry-run means content, presence and (with -a) metadata match.
Verification levels
| Level | Proves | Example |
|---|---|---|
| Job succeeded | Backup software finished | Exit code / job log |
| Catalog check | Backup contains the expected files | List backup contents |
| File compare | Restored files equal the source | rsync --checksum --dry-run, sha256sum -c |
| Application test | Data is usable | Start the app/DB on the restored data in isolation |
| Timed full restore | RTO is achievable | Stopwatch a complete restore |
Databases need application-level checks
A restored database file set can be byte-identical to a crash-inconsistent copy. Verify with the database's own tools (pg_restore --list, pg_dump from the restored instance, mysqlcheck) and run a few representative queries.
Record the evidence
Keep: date, backup version restored, target, compare output (or "no differences"), application test result and duration. A restore test without a record cannot be relied on in an audit or an incident.
*The rsync checksum comparison illustrates a differing restored file, rather than results from an actual recovery test.*
How it works at runtime
Restore Verification is part of Backup & Restore → Restore Verification. Restore Verification shows that a selected Linux recovery point can produce the required files, metadata, configuration and application behavior on the intended target.
Topic-specific state model. Restore Verification shows that a selected Linux recovery point can produce the required files, metadata, configuration and application behavior on the intended target.
Interpretation rule. - Checksum of archive ≠ usable restore.
- Restore completed ≠ permissions/dependencies correct.
- Service active after restore ≠ data/application correct.
- One restored file ≠ complete recovery objective.
Method
Restore verification shows backups work:
1. Restore to a different path or test machine (never over production for a test).
2. Compare checksums or file counts with the source snapshot.
3. Start the application/database against restored data and run a functional check.
4. Measure restore time — this is your real RTO.
5. Record the result and automate it periodically.
restic restore latest --target /tmp/restore-test --include /etc/nginx
diff -r /etc/nginx /tmp/restore-test/etc/nginx
restic check --read-data
pg_restore --list backup.dump | head
Limits and how it fails
Primary failure point. A restore tool returning success shows only that the operation completed; recovery is resolved when the restored target satisfies the documented acceptance criteria and the original workload succeeds.
ReferenceConfiguration & state1 section · depth on demand
Configuration, persistence and lifecycle
Distribution/platform context. Restore Verification owns the recovery evidence step and hands off to Filesystem, Permissions, Services, Networking, Security or application Topics when a restored dependency fails.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Backup & Restore → Restore Verification. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://download.samba.org/pub/rsync/rsync.1 · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Restore Verification operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for Restore Verification.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | Restore Verification proves that a selected Linux recovery point can produce the required files, metadata, configuration and application behavior on the intended target. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin exact source/revision or recovery point → verify inputs/consistency → observe copy/build/link result → read back destination/artifact and metadata/dependencies → restore/run in intended environment → repeat original workload + regression check. | Use the shortest evidence path first; a fast check is a boundary test, not blanket proof. |
| Verification chain | recovery objective → restore-point identity → integrity/readability → isolated restore → ownership/ACL/xattr/link verification → service/config validation → original workload → recovery evidence | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | A restore tool returning success proves only that the operation completed; recovery closes when the restored target satisfies the documented acceptance criteria and the original workload succeeds. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated Linux backup/source evidence can establish this proof path: recovery objective → restore-point identity → integrity/readability → isolated restore → ownership/ACL/xattr/link verification → service/config validation → original workload → recovery evidence | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It does not independently prove unobserved data, metadata, revisions, dependencies, consumers or time periods. A restore tool returning success proves only that the operation completed; recovery closes when the restored target satisfies the documented acceptance criteria and the original workload succeeds. | Do not promote a local success signal into end-to-end or adjacent-dependency proof. |
| Next troubleshooting check | Continue from the first unproven backup/source/build boundary, capture adjacent identity/read-back/runtime evidence, make only the demonstrated persistent change, then repeat the original workload plus a regression check. | Continue to the next unresolved boundary while preserving the original test condition. |
Restore Verification · operational reference
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | Restore Verification |
|---|---|
| Topic path | Backup & Restore → Restore Verification |
| Runtime state | Restore Verification proves that a selected Linux recovery point can produce the required files, metadata, configuration and application behavior on the intended target. |
| Fast checks | - Select a specific restore point and document the recovery objective and expected target state. - Verify the recovery media is readable before destructive replacement of the original target. - Restore to an isolated or controlled target and compare required data plus metadata. - Start required consumers and repeat the original user/service transaction, then record pass/fail evidence. |
| Verification chain | recovery objective → restore-point identity → integrity/readability → isolated restore → ownership/ACL/xattr/link verification → service/config validation → original workload → recovery evidence Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. |
| Failure boundary | A restore tool returning success proves only that the operation completed; recovery closes when the restored target satisfies the documented acceptance criteria and the original workload succeeds. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload. |
| Persistence rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |