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, use cd to change to the directory you want the files to reside in.

3Enter the following command line to restore data:

tar -xvf /dev/rmt/devicefile pathname

where devicefile is one of the device files listed from sam and pathname is the pathname of the file or directory containing files that you want to restore from the tape. If pathname 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 that sam 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

where devicefile 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.

60

Page 74
Image 74
HP B180L, B132L, B160L manual Restoring Files from a Data Cassette to Your System, Listing the Files on a Data Cassette