 |
 |  |
 |
 | NOTE:
The MPE/iX operating system has been enhanced as of Release 4.5 and 5.0 to include
additional features. For more information on these features, refer to the
book, New Features of MPE/iX: Using the Hierarchical File System (32650-90351), included in this documentation set.
|
 |
 |  |
 |
Files on cassette tape might be needed back on the system. The RESTORE command is used to transfer them back to disk. If you are executing this command from a terminal other than the system console, a message appears on the console screen, requesting that the system administrator load a cassette tape onto the tape drive. For directions on handling tapes and loading the tape drive, refer to "Setting Up and Maintaining Your System."
To restore all of the files from a cassette tape |
 |
When the appropriate tape is loaded on the tape drive and you have logged on to the console, use the RESTORE command to transfer the files from tape to disk.
To restore all of the files on the tape, use RESTORE and the wildcard @, for the file, group, and account names.
:FILE T;DEV=TAPE Return
:RESTORE *T;@.@.@ Return
|
To restore selected files from a cassette tape |
 |
When the appropriate tape is loaded on the tape drive and you have logged on to the console, use the RESTORE command to transfer the files from tape to disk.
To restore selected files from a tape, identify the files by entering the file names and separating them by commas:
:FILE T;DEV=TAPE Return
:RESTORE *T;filename,filename,filename Return
|
In this example, the command can be simplified further by using a wildcard to specify a common part of the file names, if appropriate:
:FILE T;DEV=TAPE Return
:RESTORE *T;filename@ Return
|
To restore files and the account structure from a cassette tape |
 |
When the appropriate tape is loaded on the tape drive and you have logged onto the console, use the RESTORE command to transfer the files from tape to disk.
To restore all files and the account structure on the tape, use the RESTORE command and the wildcard @, for the file, group, and account names along with the DIRECTORY parameter. The user of this parameter must have special capabilities, either OP or SM, assigned to them.
:FILE T;DEV=TAPE Return
:RESTORE *T;@.@.@;DIRECTORY Return
|
To restore files whose groups or accounts do not exist on the system |
 |
When files are saved on the cassette tape, the system notes where the file's creator, group, and account are. At the time that the files are restored to the system, the creator, group, or account may no longer exist on the system. The CREATE option of the RESTORE command helps recreate those items as the files are restored to the disk.
In the following example, all files are restored recreating the file's original group, account, and creator:
:FILE T;DEV=TAPE Return
:RESTORE *T;@.@.@;CREATE=GROUP,ACCOUNT,CREATOR Return
|
When users, groups, and accounts are recreated by the RESTORE command, default capabilities are assigned.
To restore files from another account or group to your logon group and account |
 |
When there is no need to recreate the original group or
account structure, you can indicate this to the system with
the LOCAL option:
:FILE T;DEV=TAPE Return
:RESTORE *T;@.@.@;LOCAL Return
|
In this case, the files are stored under your logon group and account.