Hosting Operations
Read-only, can be slowRead the Restore Drill Validation Report
You need to pull the key pass, RPO, RTO, checksum, and file-count lines from a restore drill report.
Command
REPORT=/srv/backups/site/reports/restore-validation-2026-06-25.txt && grep -E 'status=|rpo_minutes=|rto_seconds=|checksum=|file_count=' "$REPORT"
Before you run this
System impact: Read-only. Can create load on large logs, directories, filesystems, or process tables.
When not to use it: Do not use a report as a substitute for running the restore and validation commands.
Expected output
Key report lines showing status, RPO, RTO, checksum, and file-count results.
System impact
Read-only, can be slow. Nothing changes. The command reads the report.
Scope this to the smallest useful path or service on busy systems.
Recovery / rollback: no state is changed.
When to use it
Use after a drill to capture the validation signals people will ask for during an incident review.
When not to use it
Do not use a report as a substitute for running the restore and validation commands.
next steps
Related commands
Read the Backup Manifest
The manifest should say what backup you are about to trust.
BACKUP_ROOT=/srv/backups/site && cat "$BACKUP_ROOT/2026-06-25/MANIFEST.txt"
Find Missing Files in an Old Backup
The fastest failed restore drill is the one that finds missing critical files early.
BACKUP_ROOT=/srv/backups/site REQUIRED=/srv/backups/site/required-files.txt && tar -tf "$BACKUP_ROOT/2026-06-24/site.tar" | sed 's#^./##' | sort | comm -23 "$REQUIRED" -
Extract a Backup Into a Restore Sandbox
A restore drill should write to a sandbox, not production.
BACKUP_ROOT=/srv/backups/site RESTORE_SANDBOX=/tmp/linuxoneliners-restore/full && rm -rf "$RESTORE_SANDBOX" && mkdir -p "$RESTORE_SANDBOX" && tar -xf "$BACKUP_ROOT/2026-06-25/site.tar" -C "$RESTORE_SANDBOX"
List Archive Contents Before Extracting
You can inspect a tar backup before it writes a single file.
BACKUP_ROOT=/srv/backups/site && tar -tf "$BACKUP_ROOT/2026-06-25/site.tar" | sed 's#^./##' | sort
List Restore Points Before a Drill
A restore drill starts by proving which backups actually exist.
BACKUP_ROOT=/srv/backups/site && find "$BACKUP_ROOT" -maxdepth 2 -type f -name MANIFEST.txt -printf '%TY-%Tm-%Td %TH:%TM %h\n' | sort -r
Study mapping
Use this as independent command practice: read the notes, predict the output, then compare it with the example before using a real shell.
Independent study support only. No affiliation, endorsement, exam dumps, or real exam questions.