Table of ContentsLibraryView 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.

    Attention: 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 elements of this command line are described in the following table.

Element Description
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.
Related concepts
What restore types are