Skip to content
Clairos Learn

Capstone labs · Lesson 16 of 18 · 8 minutes

Capstone backup restore review

Review backup manifest, archive, restored file, and checksum evidence.

Mastery 0/3Run itExplain itApply it
learner@clairosSimulated Linux lab
learner@clairos:~ $
↑ history · Tab complete · Ctrl+C cancel · Esc, Tab to leaveExit 0

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.txt
backup-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.html
created 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.tar
830ae59ac30bc6fe08f4c9fd024b10e1aeb01957076b85a90cd0432dbcba7abe  /home/learner/backups/final-restore.tar

Exit status: 0. The command completed successfully in the training fixture.

Try a variation

Repeat this workflow in the sandbox with a different scratch filename. Keep the system fixtures unchanged and compare the observed output with your expectation before moving on.

Explain it

In “Capstone backup restore review”, which interpretation is safe?

Apply it elsewhere

Before adapting the tar workflow from “Capstone backup restore review” to another server, what should you do?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Capstone multi-signal outageTry an incident drill

Anonymous 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

  1. 01Capstone unknown listenerReconcile listeners, process owners, firewall, and service state.Practice
  2. 02Capstone multi-signal outageCorrelate service, config, journal, listener, and capacity evidence for an outage.Practice
  3. 03Capstone verified restoreStage, compare, archive, and hash a restored web artifact.Practice