Backup and Restore 2 Manual
BRCOM BACKUP Command
Backup and Restore 2 Manual—522696-019
6-46
OSS Backup Examples
/usr/local/home/fred
/usr/local/home/bill
The mount point /local directory is itself not backed up.
This command also excludes files in other OSS fileset from the back up:
BR> BACKUP =mytape, OSS / , FOLLOWMOUNTPTS OFF;
The /mp directory is a mount point for the fs2 fileset. The files fs2d1, file1, and
file2 are located in the other OSS fileset. Assume this directory structure.
These objects are in another OSS fileset and not backed up:
/mp1/fs2d1
/mp1/fs2d1/file1
/mp1/f2sd1/file2.
The mount point directory itself /mp1 is not backed up.
Backing Up OSS Hard Links
A hard-linked file has multiple file names associated with a single inode number. The
inode number is the internal storage pointer to the disk file. Backup records the file
data including the contents, the directory entries, the filenames, and the inode number
for the files. In this example, /usr/project/file1, /usr/project/file2, and
/usr/project/file3 are hard links to the same file.
To back up hard-linked files, you must back up the complete set of files. For example:
BR> BACKUP =mytape, OSS (/usr/project);
Backing Up OSS Objects Using Special Characters
To back up an OSS directory with spaces, a tab character, a backslash character, and
an ACK character (octal 6), you can use any of these examples:
> backup $tape, oss "/very \\strange\tdirname\006"
> backup $tape, oss /very\ \\strange\tdirname\006
> backup $tape, oss "/very\0040\0134strange\0011tdirname\006
/ Root directory
mp1 Subdirectory of the root directory and mount point for the fs2
fileset
fs2d1 File in the /mp1 subdirectory
file1 File in the /mp1 subdirectory
file2 File in the /mp1 subdirectory