![HP BACKCOPY Reference Manual Download Page 161](http://html.mh-extra.com/html/hp/backcopy/backcopy_reference-manual_164920161.webp)
If the RESTORE process does not complete normally, the file is marked corrupt and should be
purged. The file system rejects normal OPENs of corrupt files.
•
If the state of FLTrustFlags for an object file being restored is ME or SHARED, FLTrustFlags for
the file is set to OFF if a user other than the super ID restores the file.
NOTE:
The FLTrustFlags attribute is supported only on systems running H-series RVUs or
J-series RVUs.
Examples
•
To restore all files on the backup tape except those on the volume $SYSTEM:
1> RESTORE $TAPE2,*.*.* EXCLUDE $SYSTEM.*.*, KEEP, &
1> &LISTALL
The KEEP option preserves the disk file if it has the same name as a file on the backup tape.
That is, the file is not restored from the tape.
•
To restore all files on tape that have the volume and subvolume name $STORE2.ACCTSRCV
to the subvolume ACCTSRCV on the volume $FINANCE:
1> RESTORE $TAPE, $STORE2.ACCTSRCV.*, &
1> &VOL $FINANCE.ACCTSRCV, LISTALL
Any file on $FINANCE.ACCTSRCV that has the same name as a file on the backup tape is
purged and the backup copy is restored. The names of all specified files are listed on the
default output file or device:
•
To have RESTORE begin restoring files when it encounters the file DATA.MYFILE, without
restoring files that precede MYFILE in subvolume DATA, and leaving the tape loaded and
online after the RESTORE operation:
1> RESTORE $TAPE3,*.* START DATA.MYFILE, LISTALL, &
1> &NOUNLOAD
Subvolumes that precede DATA are not restored, but subvolumes that follow DATA are restored.
•
To restore the files using the modification and last open timestamps of the restore time, use
the TAPEDATE OFF option:
1> RESTORE $TAPE1, *.*.*, LISTALL, TAPEDATE OFF
•
To restore all files and file partitions for the volume $STORE1. It does not restore partitions on
other volumes, for a BACKUP tape created with the PARTONLY ON option:
1> VOLUME $STORE1
2> RESTORE $TAPE, *.*, PARTONLY ON, LISTALL
•
To restore all file partitions on $SYSTEM that have primary partitions on the volume $STORE1,
for a BACKUP tape created without the PARTONLY option:
1> VOLUME $SYSTEM
2> RESTORE $TAPE3, *.*, PARTOF $STORE1, LISTALL
•
To restore all files whose owner is SOFTWARE.BOGEY:
1> RESTORE $TAPE1, *.*.* WHERE OWNER =SOFTWARE.BOGEY
•
To restore the files and preserve the NOPURGEUNTIL date of the Enscribe files:
1> RESTORE $TAPE1, $DEV.*.*, LISTALL, NOPURGEUNTIL, VOL
$DATA, NOUNLOAD
Restoring Enscribe EKS Files to Classic Key-Sequenced Files
RESTORE Guidelines and Examples
161