$
Learn Linux handbook
en
XP:0
Quest 132Backup Savior
+500 XP

Boss Challenge 15: Corrupted Backup & Checksum Recovery

Launch Interactive Terminal for This Quest→No installation required • Runs fully in browser

Concept & Overview

DATA INTEGRITY INCIDENT: The nightly backup pipeline flagged a corrupted archive in /home/learner/backups/data_backup.tar.gz. The mission-critical archive failed integrity checks.

1. Run sha256sum -c checksums.sha256 inside /home/learner/backups (or sha256sum -c /home/learner/backups/checksums.sha256) to confirm the corrupted file (FAILED).
2. Overwrite the corrupted archive by copying the pristine valid backup from the system cache at /var/backups/data_backup.tar.gz into /home/learner/backups/data_backup.tar.gz.
3. Re-verify the backup using sha256sum -c checksums.sha256 to confirm integrity (data_backup.tar.gz: OK).

Verify the corrupted backup with sha256sum -c checksums.sha256, replace /home/learner/backups/data_backup.tar.gz with /var/backups/data_backup.tar.gz, and re-verify integrity.

Command Syntax Reference

Command / SyntaxDescription
sha256sum -c checksums.sha256Verify files against cryptographic checksum list
cp /var/backups/data_backup.tar.gz /home/learner/backups/Copy valid backup archive into backups folder

Verification Objectives

These conditions will be automatically verified when you run commands inside the interactive terminal simulator:

  • ○
    Restore valid data_backup.tar.gz from /var/backups
  • ○
    Verify checksum match with sha256sum -c

Ready to complete Quest 132?

Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.