Compaq C160 Computer Monitor User Manual


 
55
Using Your Digital Data Storage (DDS) Tape Drive
Operating the DDS Tape Drive
Archiving Data
This section describes how to transfer data to and from a DDS-format data
cassette (saving and restoring) using the HP-UX tar command and your tape
drive’s device file.
The tar command allows you to save files to a data cassette, restore files
from a data cassette to your system, or list the files on your data cassette.
Writing to a Data Cassette
Use the following instructions to save files to a data cassette:
1 Check that the write-protect tab on the data cassette is in the write position.
2 Load the data cassette into the tape drive.
3 In a terminal window, enter the following command line to write to the tape:
tar -cvf /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 write to the
tape. To use the data compression mode, use one of the device file names that
sam listed as supporting compression.