Backup and Restore 2 Manual
BRCOM BACKUP Command
Backup and Restore 2 Manual—522696-019
6-43
OSS Backup Examples
The following objects are backed up.
In case of multiple filesets, each with its own exclusion criterion (EXCLUDE filter)
mentioned, if a fileset is explicitly excluded for one fileset and the same exclusion
criterion is specified for another fileset that needs to be backed up, the second
fileset will not be backed up. The exclusion criterion overrides the backup criteria.
For example:
BR> BACKUP =mytape, OSS ((/usr) WHERE EXCLUDE = (/usr/dir0),
(/usr/dir0) WHERE EXCLUDE = (/usr/dir0/dirfil01)) ;
Assume the following directory structure:
In this example, the /usr/dir0 directory is excluded in the first OSS specification
(/usr) WHERE EXCLUDE = (/usr/dir0) but is not included in the
subsequent OSS specification /usr/dir0 "WHERE EXCLUDE =
(/usr/dir0/dirfil01) because it is already removed from the object tree.
Therefore, the /usr/dir0 file is not backed up.
/ Root directory
usr Subdirectory of the root directory
dir0 Directory in the /usr directory
dirfi100 File in the /usr/dir0 directory
dir1 Directory in the /usr directory
dirfi110 File in the /usr/dir1 directory
usr1 File in the /usr directory
usr3 File in the /usr directory
/ Root directory
usr Subdirectory of the root directory
dir0 Directory in the /usr directory
dirfi100 File in the /usr/dir0 directory
dirfil01 File in the /usr/dir0 directory
dir1 Directory in the /usr directory
dirfi110 File in the /usr/dir1 directory
dirfil11 File in the /usr/dir1 directory
usr1 File in the /usr directory
usr2 File in the /usr directory
usr3 File in the /usr directory