STORE and TurboSTORE/iX Products Manual (B5151-90003)
176 Chapter11
Restoring Files
RESTORE Command Options
Restoring Files with Certain File Codes (FCRANGE)
Use the FCRANGE parameter to restore only files with certain file codes. MPE/iX file codes
distinguish different types of files. You can select up to eight file code ranges to restore. For
example, files with codes 1100, 1101, and 1102 are HPWORD files. Files with codes 1152
and 1153 are SLATE files. To restore all HPWORD and SLATE files from a backup, enter:
:FILE T;DEV=TAPE
:RESTORE *T;@.@.@;FCRANGE=1100/1102,1152/1153
NOTE
The FCRANGE parameter is not valid when restoring from TRANSPORT tapes.
Specifying a Maximum Number of Files to Restore (FILES)
By default, MPE/iX restores a maximum of 4000 files at a time. If you are restoring more
than 4000 files using the automatic TRANSPORT mode, use the FILES= parameter to specify
the maximum number of files to be restored. If you do not use the TRANSPORT mode, the
FILES= parameter is not necessary. If the FILES= parameter is present with the
TRANSPORT mode, it is ignored. For example, to set the maximum number of files restored
to 6000 from a TRANSPORT tape, you might enter the following:
:FILE T;DEV=TAPE
:RESTORE *T;@.OPERATOR.SYS;FILES=6000
Restoring Files to a Specific Device (DEV)
Use the DEV parameter to specify the device where you want to RESTORE files. Use an
LDEV number or a device class to indicate the device. For example, the following
commandrestores the file FILE1 to the disk with logical device number 2.
:FILE T;DEV=TAPE
:RESTORE *T;FILE1.OPERATOR.SYS;DEV=2
If you name a device class, RESTORE allocates the files to any of the home volume set's
volumes within that class. If you name a specific logical device, RESTORE restores the file to
that device only if the device is a system disk.
If you do not specify a device with the DEV parameter, RESTORE tries to RESTORE a file to the
logical device compatible with the device type and subtype specified in the file's label and
the device type and subtype of the mounted home volume set. If it cannot find such a
device, RESTORE tries to RESTORE the file to a device with the device class specified in the
file's label and the home volume set. If it cannot find a device with the appropriate device
class, RESTORE tries to RESTORE the file to any member of the home volume set; if it cannot,
it does not RESTORE the file.
You cannot use DEV with VOLSET, VOLCLASS, or VOL. See the following section.
Restoring Files to Specific Volumes (VOL, VOLCLASS, VOLSET)
Use the VOL, VOLCLASS, and VOLSET parameters to RESTORE files to a particular volume,
volume class, or volume set.