Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

Restore Verification

Direct answer

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.

When to use this

Use it regularly to prove backups, and after any change to the backup setup.

First 30 seconds

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.

Operational verification

backup selected → restored to test target → content and metadata compared → application test → result recorded

Evidence · next step

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
Platform / version applicability
linux
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformlinux
Scope / prerequisiteUse it regularly to prove backups, and after any change to the backup setup.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points

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).

Key checks
  • rsync -aHAX --delete --dry-run <src> <dst> — preview a metadata-preserving sync
  • tar --acls --xattrs -czf <file> <dir> — archive with ACLs and xattrs
  • sha256sum <file> — checksum to verify copies
  • systemctl 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 codeMeaning
>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

LevelProvesExample
Job succeededBackup software finishedExit code / job log
Catalog checkBackup contains the expected filesList backup contents
File compareRestored files equal the sourcersync --checksum --dry-run, sha256sum -c
Application testData is usableStart the app/DB on the restored data in isolation
Timed full restoreRTO is achievableStopwatch 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.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor doclinux current

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%
Technical changelog & impact

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.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

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.

Aliases that resolve here
restore test linuxbackup restore verificationrecovery verification
Embedded reference data

Quick lookup tables

Restore Verification operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for Restore Verification.

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateRestore 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 verificationPin 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 chainrecovery objective → restore-point identity → integrity/readability → isolated restore → ownership/ACL/xattr/link verification → service/config validation → original workload → recovery evidenceTrace requested/configured state through effective state to the observed workload result.
Failure boundaryA 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 evidenceCorrelated 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 evidenceUse this observation only for the specific claim it actually supports.
Evidence limitIt 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 checkContinue 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 boundaryRestore Verification
Topic pathBackup & Restore → Restore Verification
Runtime stateRestore 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 chainrecovery 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 boundaryA 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 ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Confirmation

Confirm action

Continue?