Chapter 19. Archives and Backups
It's your worst nightmare: You wake up, log in to your newly customized Unix account, and find that everything is gone. All your aliases, shell scripts, mail files, and HTML documents…missing. You email the administrator—a panicked email—and she responds, “Oh, yeah, sorry.”
To avoid this sort of horrible mishap you need a solid archival and backup strategy, and that's what this lesson is going to focus on. In particular, we will explore the tar command as a simple tool for making single-file backup images of large amounts of information, and we will examine the compress command to shrink the resultant archive as small as possible.
A number of ways are possible to write your backup data to a tape unit, CD-RW, or network ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access