Go to the previous, next section.

Backing Up Files On Tape

There are a number of ways to back up your files onto some sort of secondary media. If you have a PC or Mac, you can transfer your data to floppies. Otherwise you can use the following method. Other methods are available via special arrangement with Sysgroup.

For this method, you will need 1/4" data cartridges. They come in several sizes, there are two common sizes available 450 ft (which will contain aproximately 45 Megabytes) and 600 ft (which will contain aproximately 60 Megabytes).

Each of the Tektronix 4319 workstations in both the CS terminal room and the EE grad cad lab have a scsi tape drive. You can login to the 4319's in the CS terminal room using the same login name and password you use on rigel.

Backing Up/Restoring Files

To backup or restore files using a scsitape you will either need to use tar or cpio. The devices for the scsitape are /dev/rmt8 if you want to have the tape rewind after you have tar'ed or cpio'ed a file, or `/dev/rmt12' which will not rewind when the tar or cpio command is done.

Tar Method:

To backup files:
tar -cvf /dev/rmt12 filenames

To restore files:
tar -xvf /dev/rmt12 filenames

For table of contents:
tar -tf /dev/rmt12

Cpio Method

To backup files:
echo filenames | cpio -V/dev/rmt12 -ovc

To restore files:
cpio -ivcd -V/dev/rmt12

For  table  of  contents:
cpio  -ivct -V/dev/rmt12

For more information Read the tar(1), cpio(1), and mt(1) manual pages.


Using tar:

% cd
% ls file1 file2 file3 file4 
% tar -cvf /dev/rmt12 file1 file2 file1 file2 
% tar -tf /dev/rmt12 file1 file2

(Using cpio)

% cd
% ls file1 file2 file3 file4 
% echo file1 file2 | cpio -V/dev/rmt12 -ovc file1 file2 
% cpio -ivct -V/dev/rmt12 file1 file2

Go to the previous, next section.