STORE and TurboSTORE/iX Products Manual (B5151-90003)
Chapter 11 171
Restoring Files
RESTORE Command Options
files, are particularly likely to have experienced damage.
NOTE
This option is provided only for use in the event that a media read error is
preventing you from recovering an important file that can not be recovered
from any other backup or data source. This option should NOT be used on a
regular basis for RESTORE. It should only be used after a normal RESTORE
failed to recover a file or files due to a media read error.
Restoring Files to the Correct Group, Account, and Creator
(CREATE)
Files on STORE tapes belong to the same group, account, and creator that they belonged to
on disk. You RESTORE files to their original group, account, or creator, or if you have the
correct capabilities, you can use RESTORE command options to copy a file to your own group
and account or to copy a file to a different group, account, or creator.
Creating Groups, Accounts, and Creators
If a file's account, group, or creator has been deleted from your system after storing the file
to tape, you can recreate it as you RESTORE the file from tape using the CREATE option.
RESTORE sets account, group, and user capabilities to their default values when it creates
them. You must have the necessary capabilities to create a new group or account. That is,
you must have system manager (SM) or system supervisor (OP) capability to create a new
account. You must have system manger (SM), system supervisor (OP), or account manager
(AM) capability to create a new group.
For example, you stored all files in the account FEBRECS to tape on the first of March and
then purged the account, its users, and its groups from the system. Several months later, a
user asks you to RESTORE the files in the FEBRECS account. Using the CREATE option, you
can recreate the account, groups, and creators as you RESTORE the files. For example:
:FILE T;DEV=TAPE
:RESTORE *T;@.@.FEBRECS;CREATE=GROUP,ACCOUNT,CREATOR
Or alternatively, you could enter:
:RESTORE;;CREATE
which will by default RESTORE all files and create all missing structures.
CAUTION
Using this method, the CREATE option creates groups, accounts, and users
with default capabilities and access rights (those that exist for the group,
account, and user to which you are restoring, not those that exist on the tape).