STORE and TurboSTORE/iX Products Manual (B5151-90003)

Chapter 11 177
Restoring Files
RESTORE Command Options
Use the VOLSET parameter to reference a particular volume set. If there is no room in the
volume set, RESTORE does not RESTORE the file. For example:
:FILE T;DEV=TAPE
:RESTORE *T;@.@.@;VOLSET=PRIVATE_VOL_A
Use VOLCLASS to reference a particular volume class. If there is no room in the volume
class you indicate, RESTORE restores the files to a volume within the volume set. If there is
no room in the volume set, RESTORE does not RESTORE the files. For example, to RESTORE
files to the volume class CLASS_B within the PRIVATE_VOL_A volume set, enter:
:FILE T;DEV=TAPE
:RESTORE *T;@.@.@;VOLSET=PRIVATE_VOL_A;VOLCLASS=CLASS_B
Use VOL to reference a particular volume. If you do not indicate a volume class or volume
set, the volume you indicate must be part of the system volume set. If there is no room on
the volume you name, RESTORE restores the file to another volume within the volume class.
If there is no room within the volume class, RESTORE restores the file to a volume within
the volume set. As an example, to restore files to the volume named VOL_C within the
PRIVATE_VOL_A volume set, enter:
:FILE T;DEV=TAPE
:RESTORE *T;@.@.@;VOLSET=PRIVATE_VOL_A;VOL=VOL_C
You cannot use VOL, VOLCLASS, or VOLSET together with the DEV parameter (see previous
section). If a file's group and account do not exist on the volume specified with VOLSET, the
file is restored to the volume set where its group and account do exist. Refer to Volume
Management Reference Manual (32650-90045) for more information on using volumes,
volume classes, and volume sets.
NOTE
The VOL, VOLCLASS, and VOLSET parameters are not valid for restoring from
TRANSPORT tapes.
Modifying ACDs (COPYACD, NOACD)
When restoring files, the NOACD option can be used to prevent the ACDs on the backup
from being restored. This will cause the files being restored to have less security than
when they previously existed on the system. Using NOACD can be useful when the ACDs
that exist on the backup refer to users or accounts that do not exist on the current system.
Specifying COPYACD (which is the default), will cause all ACDs associated with files on the
backup to be restored to the system.
Specifying HFS Files (TREE, NOTREE)
By default, RESTORE uses the last character of an HFS filename to determine if the
specified file or fileset should be scanned recursively to include all files below the specified
wildcards or directories. If a filename ends in a slash (/), then it will be scanned
recursively to include all files below it in the hierarchical directory. Otherwise, the file or
fileset is not scanned recursively, resulting in a horizontal cut at its level in the
hierarchical directory. Using TREE and NOTREE can override that default behavior.
If TREE is specified, ALL files and filesets are scanned recursively, regardless of their
ending character. If NOTREE is specified, then NO files or filesets are recursively scanned,