The destination acts as the root of the backup that you are restoring. You specify a different restore destination if you are restoring the backed up data to a different location.
Considerations
For example, if you created a backup and then installed multiple volumes on the storage system, you might specify a different volume or directory when you perform a restore.
If you do not specify a restore destination, the files are restored to the locations from which they were backed up.
Note: You should specify a restore destination even if you are restoring to the same destination from which you backed up. This ensures the files are restored where you want them to go and are traceable to that location.
Steps
- To specify the restore destination, use the D option in the restore command line.
- Include the absolute path name of the restore destination as a parameter to the D option.
Example
The following command restores a backup and puts it in the/vol/destination volume:
restore rfD rst0a /vol/destination
The elements of this command line are described in the following table.
| Element
|
Description
|
| r
|
Performs a full restore. |
| f
|
Specifies that a tape device is supplied in the command line. |
| D
|
Specifies that a destination is supplied in the command line |
| rst0a
|
The tape device. |
| /vol/destination
|
The destination is the /vol/destination volume. |