Backup and Restore 2 Manual

BRCOM RESTORE Command
Backup and Restore 2 Manual522696-019
7-58
OSS Restore Examples
Assume this directory structure on tape:
All directories are restored. Filtering does not apply to OSS directories. The
/local/bin/file1, /home/sv/myfile, etc/rc, and var/x files are not
restored.
Do not specify a WHERE expression for one set of OSS objects but not for each
other set of OSS objects. For example:
BR> RESTORE =mytape, OSS (((/usr/bin, TGT /newdir),
BR+> /usr/local/bin) WHERE (EOF > 2000000 AND OWNER =
BR+> software.sitaramv), ((/home/sv/myfile, TARGET /home/sv),
BR+> /etc/rc, /var/x );
An error would occur.
/usr Directory
/bin Subdirectory of the /usr directory
/local Directory
/bin Subdirectory of the /local directory
/file1 File in the /bin directory (1000000 bytes and owned by
software.sitaramv)
/file2 File in the /bin directory (2500000 bytes and owned by
software.sitaramv)
/home Directory
/sv Subdirectory of the /home directory (last modified on 15
MAR 2003)
myfile File in the /sv directory
/etc Directory
rc File in the /etc directory (last modified on 20 JAN 1999)
/var Directory
x File in the /x directory (last modified on 12 DEC 1998)
/usr Directory
/bin Subdirectory of the /usr directory
/local Subdirectory of the /bin directory
/bin Subdirectory of the /local directory
/file2 File in the /bin directory (2500000 bytes and owned by
software.sitaramv)
/etc Directory
/var Directory