STORE and TurboSTORE/iX Products Manual (B5151-90003)
Chapter 11 179
Restoring Files
RESTORE Command Options
files. This information is stored in the disk directory file and in a media directory located
near the end of the backup media.
It is much faster and more convenient for you to read the after image log information from
the disk directory file. Otherwise, RESTORE needs to have you mount the backup media
that contains the "final" media directory before it can restore any files.
If a disk directory file for the backup exists, but it is not located in the default location, the
STOREDIRECTORY (or STOREDIR) option can be specified to tell RESTORE where the disk
directory file is located. The filename must be specified, and can be in MPE or HFS format.
If it is not fully qualified, it will be qualified with the CWD.
For example, to tell RESTORE to use the file MYDIR as the disk directory file, issue the
command:
:RESTORE *T;@.@.@;SHOW;STOREDIR=MYDIR
or
:RESTORE *T;@.@.@;SHOW;STOREDIR=/SYS/HPSTORE/MYDIR
If RESTORE cannot open the specified disk directory file, or it cannot open the disk
directory file in the default location, it will use the STORE directory from the backup
media. No warning message will be displayed if RESTORE cannot locate a disk directory
file.
If the STOREDIRECTORY option is used with the LISTDIR option, RESTORE can display a
list of all files in the specified backup without requiring that the backup media be mounted
or present on the system. This allows you to determine what files are in a backup, even if
the backup media is not available. If the STORE disk directory file is located in the default
location, then the full pathname of that file needs to be specified with the STOREDIRECTORY
option in order to get a listing of all files in that backup.
For example, to see what files were in the 5/12/95 backup:
:RESTORE *T;@.@.@;LISTDIR;&
STOREDIR=/SYS/HPSTORE/STORE_DIRS/store_19950512_22002025_pin20_fri
If you keep your disk directory files in a different location, then the alternate name can be
specified. A filename which is a symbolic link to the default location can also be specified:
:RESTORE *T;@.@.@;LISTDIR;STOREDIR=LASTFULL.HPSTORE.SYS