Chapter 14: Archives and file transfer
Bundle and compress data with tar, prove it with checksums, make backups that restore with their metadata, and move data between hosts safely.
What you will learn
- Create, list and extract tar archives and choose the compression.
- Compress and compare formats, and verify files with SHA-256 checksums.
- Make full and incremental backups that keep ACLs, labels and attributes, and test restores.
- Move data between hosts with rsync and tar over ssh, and verify the copy.
Sections
- Bundling files with tar
- Exercise: Archive a project
- Compression and checksums
- Exercise: Compress and verify
- Backups that restore properly
- Exercise: Back up with ACLs, then restore
- Moving data between machines safely
- Exercise: Move a tree between servers
- Exercise: Archives and transfer review
- tar and rsync quiz
- tar and rsync cheat sheet