Mission 300

Capstone backup restore review

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

Capstone labs
8 minutes Capstone Lesson 300 of 360
cattardiffsha256sum
Lesson 300 of 360 0/360 lessons 0/17 missions Capstone labs · 8 minutes
0%
Continue View profile
Ops lab terminal Training lab
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Instructions 8 minutes

Click any instruction for the command details, the why, and the common mistake to avoid.

Read manifest

Run cat backups/manifest.txt.

cat backups/manifest.txt
Create restore archive

Run tar -cf backups/final-restore.tar restore/index.html.

tar -cf backups/final-restore.tar restore/index.html
Compare restored file

Run diff /srv/www/index.html restore/index.html.

diff /srv/www/index.html restore/index.html
Hash final archive

Run sha256sum backups/final-restore.tar.

sha256sum backups/final-restore.tar
Lesson support

What to notice while you play.

Objective

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

Hint

Run the commands in order and compare the outputs.

Why it matters

Junior operators build confidence by gathering evidence before changing systems.

Common mistakes
  • Skipping the inspection step.
  • Assuming one command tells the whole story.
Reference

Commands in this lesson.

cat <file>

Print text file contents.

diff <left> <right>

Compare two lab text files.

sha256sum <file>

Print a deterministic training checksum.

tar -cf|-tf <archive>

Create and list training archives.