Table of ContentsView in Frames

Specifying tape devices in the restore command

When you performed a backup, you specified one or more tape devices. The files written by these devices can be on one or more tapes. When restoring, you have to list the tape devices in the same order that you used in the backup.

About this task

You must use the same compression type to restore a backup as you did to perform the backup; however, you can use a different rewind type and device number. For example, you can use rst1a and tape drive 1 to restore a backup done on nrst0a, provided that the two tape drives use the same kind of tape.

Steps

  1. To specify the tape devices for restores, use the f option in the restore command line.
  2. List the tape devices as a parameter to the f option in the same order that you used in the backup.

    Separate multiple tape devices with a comma.

    Note: If you do not specify at least one tape device, the restore command terminates.

    The restore command restores from tape files consecutively, using the tape devices in the order that they appear in the command line.

Example

The following command specifies the rst0a device for a backup:

restore rf rst0a

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.
rst0a
The tape device.