October 2000
Intermediate to advanced
1152 pages
26h 41m
English
Many tools are available for making backups. In addition to numerous third-party applications, Red Hat Linux comes with some standard tools for performing this task. This section examines two of them, tar and cpio.
tar and cpio are very similar. Both are capable of storing and retrieving data from almost any media. In addition, both tar and cpio are ideal for small systems, which Red Hat Linux systems often are. For example, the following tar command saves all files under /home to the standard output (which can then be redirected to your system's backup device or directory):
$ tar c /home >home.tar
The c option tells tar to create a new archive, and the specified directory is used to gather the files. The output is redirected ...
Read now
Unlock full access