
Media Processing Server System Operator’s Guide
Page 136 # P0602484 Ver: 2.7
b. Enter the root password (____________).
3. Enter the tar command.
• To verify the contents of a tape, enter tar tvf /dev/rmt/0.
• To verify the contents of an internal drive, move to the directory
that contains the tar file and use the syntax tar tvf
<archivefile.tar> where <archivefile.tar> is the
tar file.
This command verifies each file stored in the archive file and prints its
name and size to the screen.
The contents of a tar file in an alternate directory can also be verified. See the Solaris
system documentation for details about the tar command.
Restoring with tar
Use the tar command to restore selected files or the entire backup.
How to ... Restore Files with tar
1. If restoring a tape backup, insert the tape into the drive.
2. Log in as root.
a. From any command line enter su.
b. Enter the root password (____________).
3. Move to the directory where the files will be located (destination
directory).
4. Enter the tar command.
• To restore files from a tape, enter tar xvf /dev/rmt/0.
• To restore files from an internal drive, use cp to place the tar
file in the destination directory and use the syntax tar xvf
<archivefile.tar> where <archivefile.tar> is the
tar file.
See the Solaris system documentation for details about the tar com-
mand, and for details and examples on using cp.
Backing up with ufsdump
Use ufsdump to transfer files to a tape, internal drive or disk, or diskette. Whereas
the ufsdump command does not perform file compression, it does detect end of
media and span multiple volumes. This is useful for very large file backups. The
systems provides prompting when a media source is full and an additional volume is
needed.
Comentarios a estos manuales