Boss Challenge 15: Corrupted Backup & Checksum Recovery
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).
Command Syntax Reference
| Command / Syntax | Description |
|---|---|
sha256sum -c checksums.sha256 | Verify 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.