Table of ContentsView in Frames

Restoring individual files and directories

You can restore one or more directories or files from a backup.

Steps

  1. Use the X option in the restore command line.
  2. At the end of the command line, include the path names relative to the dump path of the files or directories that you want to restore.

    Separate path names with a space.

    Note: If you do not have a path in the command line, the restore command restores all data on the tape.

Example

The following command restores the /src directory and puts it in the location from which it was backed up:

restore Xf rst0a /src

The following list describes the elements of the command line:
X
Restores a specified file.
f
Specifies that a tape device is supplied in the command line.
rst0a
The tape device.
/src
The directory to be restored.