Capstone backup restore review
Review backup manifest, archive, restored file, and checksum evidence.
Understand the pattern
Junior operators build confidence by gathering evidence before changing systems.
cat- Read one or more files to standard output without editing their contents.
Reading a source file should precede changing it; avoid printing real secrets.
tar- Practice archive inventory, creation, and extraction in a simulated archive format.
These training archives are virtual data structures, not downloadable production tar files.
diff- Compare two text files; a difference is a meaningful nonzero status, not necessarily an execution error.
Status 1 means differences for diff; shell status must be interpreted in command context.
sha256sum- Compare content digests to detect byte changes, not to establish who authored the file.
A checksum detects changes only relative to a trusted expected digest.
Worked example and expected result
$ cat backups/manifest.txtbackup-2026-05-26.tar includes README.txt and /srv/www/index.html verify checksum before restore restore into /home/learner/restore first
Exit status: 0. The command completed successfully in the training fixture.
$ tar -cf backups/final-restore.tar restore/index.htmlcreated archive /home/learner/backups/final-restore.tar
Exit status: 0. The command completed successfully in the training fixture.
$ diff /srv/www/index.html restore/index.html--- /srv/www/index.html +++ /home/learner/restore/index.html -<h1>Fake static site</h1> +<h1>Restored training copy</h1> -<p>This file only exists in the simulator.</p> +
Exit status: 1. This nonzero result is an expected part of this exercise.
$ sha256sum backups/final-restore.tar830ae59ac30bc6fe08f4c9fd024b10e1aeb01957076b85a90cd0432dbcba7abe /home/learner/backups/final-restore.tar
Exit status: 0. The command completed successfully in the training fixture.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Capstone multi-signal outageTry an incident drillAnonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.
Keep learning
- 01Capstone unknown listenerReconcile listeners, process owners, firewall, and service state.Practice
- 02Capstone multi-signal outageCorrelate service, config, journal, listener, and capacity evidence for an outage.Practice
- 03Capstone verified restoreStage, compare, archive, and hash a restored web artifact.Practice