Chapter 18. Archiving and Backup

One of the primary tasks of a computer system’s administrator is to keep the system’s data secure. One way this is done is by performing timely backups of the system’s files. Even if you’re not a system administrator, it is often useful to make copies of things and to move large collections of files from place to place and from device to device.

In this chapter, we will look at several common programs that are used to manage collections of files. There are the file compression programs:

  • gzip—Compress or expand files.

  • bzip2—A block sorting file compressor.

the archiving programs:

  • tar—Tape-archiving utility.

  • zip—Package and compress files.

and the file synchronization program:

  • rsync—Remote file and directory synchronization. ...

Get The Linux Command Line now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.