Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)

The blocksize argument can have values no greater than 32,256 for disk archives and
28,672 for tape archives.
The blocksize argument can be specified as a series of digits (0 through 9) followed by a
flag letter, “b” or “k”:
If “b” is used, the blocksize value is multiplied by 512.
If “k” is used, the blocksize value is multiplied by 1024.
For example, “10b” translates to a blocksize value of 5120 bytes (10 * 512).
The default blocksize value for cpio archive format is 10b (5120 bytes). The last group of
blocks is always at the full size.
The default blocksize value for ustar archive format is 20b (10240 bytes). You specify
the blocksize argument as a multiple of 512 bytes.
.
specifies the current directory.
Backing Up OSS File Hierarchies Using Backup and Restore 2.0
You can specify part or all of multiple directory hierarchies and selectively backup files from within
them using Backup and Restore 2.0. For example, if you enter the following at a Backup and
Restore 2.0 BR> prompt:
BACKUP =MYTAPE, OSS ((/user/bin, /home/sv/myfile,
/usr/local/bin) WHERE (EOF > 20000 AND OWNER = dev.user2),
(/etc/rc, /var/x) WHERE MODTIME AFTER JAN 17 1999),
TAPEDISPOSITION NOREWIND, VERIFYTAPE ON;
Backup and Restore 2.0 writes the following OSS files to the tape identified by the DEFINE
=MYTAPE:
All files larger than 200 Kilobytes belonging to the user dev.user2 in the directories:
/user/bin /home/sv/myfile /usr/local/bin
All files from the directories /etc/rc and /var/x modified since January 1, 1999.
You can also backup entire filesets using the fileset mount points. See the Backup and Restore 2.0
Manual for more information about backing up OSS files.
Backing Up an OSS Directory Hierarchy to a New Directory
To back up the olddir directory hierarchy to the directory newdir, enter the following OSS shell
commands:
mkdir newdir
pax -rw olddir newdir
The mkdir command creates an empty directory to receive the copied files. The pax command
has the following form:
pax -r -w old-pathname new-pathname
-r
reads an archive file from the standard input file.
-w
writes files to the standard output file in the specified archive format (none).
old-pathname
is the relative OSS pathname of the directory to be copied; this specification overrides use of
the standard input file.
In the example, this directory is named olddir and is within the current working directory.
188 Managing OSS Files