Preserving current disk files during restore, Assigning your id to all restored files, Specifying files to not restore – HP NonStop G-Series User Manual
Page 222
Backing Up and Restoring Disk Information
Guardian User’s Guide — 425266-001
11 -16
Using Run Options in a Restore Command
After Restore finishes, LIST contains this listing:
Preserving Current Disk Files During Restore
The KEEP option preserves files that are currently on disk when you restore files that
have the same name. If you do not include the KEEP option, a disk file is replaced by
the file on the tape. For an example, see
Specifying Files to Not Restore
Assigning Your ID to All Restored Files
The MYID option specifies that the user ID of the user who runs the Restore program
becomes the owner of all the files restored. Also, the security of all restored files is set to
that person’s log-on default security. If the MYID option is omitted, each restored file
belongs to the user who owned it when it was backed up, and the file security is the
same as when the file was backed up. A backup tape generated using the NOMYID
option cannot be restored using the MYID option.
For an example, see
Specifying Files to Not Restore
Specifying Files to Not Restore
Use the NOT option in a Restore command to specify files on the backup tape that you
do not want to restore. The example below does the following:
•
Restores all the files on tape that were backed up from volume $PASTRY except the
files in subvolumes LINZER and PETIT4
•
Keeps any files currently on disk that have the same name as tape files specified in
the Restore command file-set list
•
Gives you ownership of the restored files
RESTORE Program - T9074D46 (07SEP98)
Copyright Tandem Computers Incorporated 1981-1998
Tape: $TAPE1 Operating System: G06 Tape Version: 1
Backup options: BLOCKSIZE 8, NO PARTONLY
Restore (list only) time: 12Feb1999 12:07 Backup time: 11Feb1999 10:43
Page: 1
Reel: 1 Code EOF Last modif Owner RWEP Type Rec Bl
$MYVOL.MYSUBVOL
CFILE 101 334525 6Jan1999 8:55 8,44 NUNU
CFILE2 101 1854 8Jan1999 9:19 8,44 AOGO
EFILE 5120 8Jan1999 10:46 1,25 NUNU E 80 1024
FILE1 101 22657 15Jan1999 15:11 1,25 CUCU
FILE2 101 1118 10Jan1999 11:12 1,25 CUCU
FILE3 101 365520 27Jan1999 14:37 1,25 CUCU
INDEX 101 61616 19Jan1999 19:05 8,12 CUUU
KEYFILE 32768 3Dec1998 10:08 1,25 AOAO K 80 4096
SEC1 101 26374 18Jan1999 9:05 1,25 CUUU
Summary Information
Files on tape = 9