Backup and Restore 2 Manual

BRCOM BACKUP Command
Backup and Restore 2 Manual522696-019
6-41
OSS Backup Examples
The /usr/temp directory is excluded but the files in the /usr directory are
backed up.
To filter the OSS files by directory or filename, use a WHERE expression and the
EXCLUDE filter combined with other filters using AND. For example:
BR> BACKUP =mytape, OSS (/usr) WHERE (EXCLUDE = (/usr/dir0)
and BR+>MODTIME > 07Apr2010 13:05);
Assume the following directory structure:
In this example, the EXCLUDE filter is the exclusion criterion and MODTIME is the
inclusion criterion. Files or directories that satisfy the exclusion criterion are
excluded and the rest of the files that do not satisfy the exclusion criterion are
applied with the inclusion criterion, that is MODTIME > 07Apr2010 13:05. The
/usr/dir0 directory is excluded even though the dirfi100 file present in this
directory has MODTIME > 07Apr2010 13:05.
The following objects are backed up.
usr Subdirectory of the root directory
usr1 File in the /usr directory
usr2 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 (MODTIME > 07Apr2010
13:05)
dirfil01 File in the /usr/dir0 directory (MODTIME < 07Apr2010
13:05)
dir1 Directory in the /usr directory
dirfi110 File in the /usr/dir1 directory (MODTIME > 07Apr2010
13:05)
dirfil11 File in the /usr/dir1 directory (MODTIME < 07Apr2010
13:05)
usr1 File in the /usr directory (MODTIME > 07Apr2010 13:05)
usr2 File in the /usr directory (MODTIME < 07Apr2010 13:05)
usr3 File in the /usr directory (MODTIME > 07Apr2010 13:05)
/ Root directory
usr Subdirectory of the root directory
dir1 Directory in the /usr directory