Other Backup/Restore Utilities

Several other commands are used for backup/restore operations. These include the tar(1) and cpio(1) commands to create archives of files and directories that can be restored on another system. The find(1) command can used to select file/directories based on specified characteristics (such as filename, file type, and so on).

The tar Command

The tar(1) command is used to create a tape archive and to add or extract files from the archive. Table 8.4 lists the five basic functions of the tar command.

Table 8.4. The tar Functions
cCreates (overwrites) a tape archive
rReplaces the named files in a tape archive
tLists the files in a tape archive
uUpdates the named files in a tape archive
xExtracts all the ...

Get Solaris™ 9 System Administrator Exam Cram™ 2 (Exams 310-014 and 310-015) now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.