Table of ContentsView in Frames

Specifying a single tape file on a multifile tape

You can have more than one tape file on a tape. Tape files do not have names. You can restore a single tape file on a tape that contains more than one tape file. You do this by moving the tape to the beginning of the file that is to be restored.

Steps

  1. Use the f option in the restore command line.
  2. Use the same tape compression type as a parameter to the f option that you used in the backup.
  3. Use the s option in the restore command line to select the appropriate backup.
  4. Include the relative position of the tape file that you are restoring as a parameter to the s option in the command line.

    Note: Count the relative position from the current tape position. It is best to rewind the tape and start from its beginning.

Example

From a tape that has been rewound, the following command restores the third tape file from the beginning of that tape. It then rewinds the tape.

restore rfs rst0a 3

The following list describes the elements of the command line:
r
Performs a full restore.
f
Specifies that a tape device is supplied in the command line.
s
Selects a tape file.
rst0a
The tape device.
3
Specifies to use the third tape file.