Backup and Restore 2 Manual

BRCOM BACKUP Command
Backup and Restore 2 Manual522696-019
6-38
OSS Backup Examples
OSS Backup Examples
The OSS examples assume a basic knowledge of these topics:
The UNIX directory structure and the OSS implementation of the directory
structure
OSS filesets, including the special nature of the root fileset
Restricted-Access Fileset
File privileges set on executables
Mount points
For more information about OSS, see the Open System Services Management and
Operations Guide.
For more information about Restricted-Access Fileset, see the Security Management
Guide.
Backing Up OSS Directories
To back up the entire OSS file system of the local node, use the BACKUP
command and specify the / root directory. For example:
BR> BACKUP =mytape, OSS / ;
To back up only the objects in the /usr directory, specify /usr. For example:
BR> BACKUP =mytape, OSS /usr ;
To back up several different OSS objects, enclose the list of objects in
parentheses. For example:
BR> BACKUP =mytape, OSS (/usr/bin, "/x/space delimited
BR+> dirname", /home/sv/myfile, /usr/local/bin);
These OSS objects are backed up:
All the objects under the directory /usr/bin inclusive
All the objects under the directory /x/space delimited dirname inclusive
The file /home/sv/myfile
The symbolic link /usr/local/bin
Backing Up OSS Objects With Filtering
To exclude OSS files from the back up, you can use a WHERE expression to filter by
qualifying criteria such as the modification time or owner. Filtering does not apply to
directories.