18. Backups, Archives, and Recovery#
This chapter covers archives, compression, checksums, retention, restore testing, and remote/offsite backup workflows built on SSH and rsync.
Archives: Package files for storage or transfer.
Compression: Reduce archive size.
Integrity: Check data with hashes.
Restore tests: Verify backups before relying on them.
Recovery: Recover from mistakes or incidents.
Chapter Video
Easy rsync Backup with tar and cron (daily, weekly, monthly) (22:14) by Tony Teaches Tech
Hosted on YouTube; property of its original creator, embedded here for educational reference only.
Learning Objectives
By the end of this chapter, you will be able to:
Create and inspect archives safely.
Use checksums to verify backup integrity.
Design simple retention rules.
Test restores in a lab directory.
Use SSH/rsync knowledge for remote backup workflows.
Chapter Flow
Glossary
# |
Term |
Explanation |
|---|---|---|
1 |
archive |
File containing a collection of files. |
2 |
tar |
Common Unix archive tool. |
3 |
compression |
Encoding data to use less space. |
4 |
backup |
Copy kept for recovery. |
5 |
restore |
Recovering data from backup. |
6 |
retention |
Rule for keeping or deleting backups. |
7 |
checksum |
Value used to verify data. |
8 |
offsite backup |
Backup stored away from source system. |
9 |
rotation |
Cycling old backups out. |
10 |
recovery |
Returning to a working state. |