STORE and TurboSTORE/iX Products Manual (B5151-90003)
174 Chapter11
Restoring Files
RESTORE Command Options
To change the dates and times to the date you restored the files, use the NEWDATE option.
For example:
:FILE T;DEV=TAPE
:RESTORE *T;@.@.@;NEWDATE
You will probably want to use NEWDATE when you RESTORE archived files, so that you do not
quickly archive them again.
Restoring Directory Information (DIRECTORY)
Use the DIRECTORY parameter to restore directory information from backup. To do this,
you must have system supervisor (OP) or system manager (SM) capability. All system and
volume set directories located are restored. For example, to RESTORE all files and all
directories from a backup, enter:
:FILE T;DEV=TAPE
:RESTORE *T;@.@.@;DIRECTORY
If you use the LOCAL, ACCOUNT, GROUP, CREATOR, or CREATE parameter with DIRECTORY,
RESTORE does not create or change accounts, groups, or users for files that belong to
directories on tape. The LOCAL, ACCOUNT, GROUP, CREATOR, and CREATE parameters will
create accounting structures only for the files that do not belong to the directories you
restore.
All HFS directories, and directories from any other volume sets that were stored, are also
restored when DIRECTORY is specified.
NOTE
When RESTORESET option is used with DIRECTORY, please restore the
directories first if they are not already on the system with "RESTORE
;;DIRECTORY" command before restoring the files with the RESTORESET
option.
Finding Out What Is on Your Tape (LISTDIR)
Use the LISTDIR parameter of the RESTORE command to display information from the tape
directory and tape label without restoring any files. The tape creation type, record size,
and any files that match your fileset list display. LISTDIR may not be specified with any
other parameter except DIRECTORY, TREE, and NOTREE.
NOTE
The LISTDIR parameter works only using native mode STORE tapes and not
with tapes created for MPE V/E using the automatic TRANSPORT mode of the
STORE command.
The following example shows a sample RESTORE command and output display format using
the LISTDIR parameter: