Open System Services Management and Operations Guide (G06.29+, H06.07+)
Managing OSS Files
Open System Services Management and Operations Guide—527191-005
6-17
Backing Up User Files
Backing Up the OSS File Hierarchy of the Current Directory
To back up the file hierarchy of the current directory to the tape mounted on Guardian 
tape device $TAPE, using the blocking factor for 5120 bytes, enter the following OSS 
shell command:
pax -wv -f /G/tape -b 10b .
This command has the following form:
pax -w -v -f archive_name -b blocksize .
-w 
writes files to the standard output file in the specified archive format (the default 
format is ustar).
-v 
writes archive member pathnames to the standard error file.
-f archive_name
specifies the pathname of the output archive, overriding the default standard output 
file. Guardian tape devices can be specified with the /G naming convention (for 
example, /G/tape).
If the -a flag is also specified and a disk archive medium is used, files are 
appended to the end of the archive.
-b blocksize
records an archive as a series of fixed-size blocks to make physical output more 
efficient. Blocking is automatically determined on input.
 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.










