Back to commands

Hosting Operations

Read-only, can be slow

Read 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

cd restore-dr && grep -E 'status=|rpo_minutes=|rto_seconds=|checksum=|file_count=' reports/restore-dr-2026-06-25.txt

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.

Watch this command run

Command transcript

This sanitized transcript shows the commands and output shape without exposing host details.

demo@lab:~$

$ cd restore-dr && cat reports/restore-dr-2026-06-25.txt

restore_dr=2026-06-25
backup_id=2026-06-25
status=pass
rpo_minutes=15
rto_seconds=42
checksum=pass
file_count=pass
permissions=reviewed

$ cd restore-dr && grep -E 'status=|rpo_minutes=|rto_seconds=|checksum=|file_count=' reports/restore-dr-2026-06-25.txt

status=pass
rpo_minutes=15
rto_seconds=42
checksum=pass
file_count=pass
View commands shown

These are the commands shown in the sanitized transcript.

Commands shown

  1. cd restore-dr && cat reports/restore-dr-2026-06-25.txt
  2. cd restore-dr && grep -E 'status=|rpo_minutes=|rto_seconds=|checksum=|file_count=' reports/restore-dr-2026-06-25.txt

next steps

Related commands

Hosting Operations Read-only

Read the Backup Manifest

The manifest should say what backup you are about to trust.

cd restore-dr && cat backups/2026-06-25/MANIFEST.txt
Hosting Operations Read-only

Find Missing Files in an Old Backup

The fastest failed restore drill is the one that finds missing critical files early.

cd restore-dr && tar -tf backups/2026-06-24/site.tar | sed 's#^./##' | sort | comm -23 required-files.txt -
Hosting Operations Deletes data

Extract a Backup Into a Restore Sandbox

A restore drill should write to a sandbox, not production.

cd restore-dr && rm -rf restore-sandbox/full && mkdir -p restore-sandbox/full && tar -xf backups/2026-06-25/site.tar -C restore-sandbox/full
Hosting Operations Read-only

List Archive Contents Before Extracting

You can inspect a tar backup before it writes a single file.

cd restore-dr && tar -tf backups/2026-06-25/site.tar | sed 's#^./##' | sort
Hosting Operations Can be slow

List Restore Points Before a Drill

A restore drill starts by proving which backups actually exist.

cd restore-dr && find backups -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.

  • lpic1:103-gnu-unix-commands
  • lfcs:essential-commands
  • lfcs:operations-deployment
  • lfcs:services-logs
  • linuxplus:automation-scripting
  • linuxplus:provisional
  • risk:read-only

Useful for

  • LPIC-1 style command-line practice
  • LFCS style performance tasks
  • Linux+ style troubleshooting review

Independent study support only. No affiliation, endorsement, exam dumps, or real exam questions.