56
Using Your Digital Data Storage (DDS) Tape Drive
Operating the DDS Tape Drive
Restoring Files from a Data Cassette to Your System

Use the following instructions to restore files from a data cassette to your

system:

1Load the data cassette into the tape drive.
2In a terminal window, usecd to change to the directory you want the files to reside
in.
3Enter the following command line to restore data:
tar -xvf /dev/rmt/devicefilepathname
wheredevicefile is one of the device files listed from sam andpathname is the
pathname of the file or directory containing files that you want to restore from
the tape. Ifpathname is not specified, everything on the data cassette is restored.
If the tape was made using data compression, use one of the device file names
thatsam listed as supporting compression.
Listing the Files on a Data Cassette

Use the following instructions to list the files on a data cassette:

1Load the data cassette into the tape drive.
2In a terminal window, enter the following command line to receive a file listing
of the data cassette:
tar -tvf /dev/rmt/devicefile
wheredevicefile is one of the device files listed from sam. If the tape was made
with data compression, use one of the device file names that sam listed as sup-
porting compression.