Open System Services Management and Operations Guide (G06.25+, H06.03+)
Managing OSS Files
Open System Services Management and Operations Guide—527191-002
6-20
Backing Up User Files
-f archive-name
specifies the relative OSS pathname of the archive file to be read.
For example, to read the archive a.pax, with all files rooted in /usr within the archive
and extracted relative to the current directory, enter the OSS shell command:
pax -r -s ',^//*usr//*,,' -f a.pax
In this example, the expression:
',^//*usr//*,,'
translates into an ed replacement string as follows:
Creating a pax Backup of OSS Files in the Guardian File
System
If the output of a pax backup is less than 2 gigabytes (GB) long, you can create the
backup in the Guardian file system. If a fileset backup requires more than 2 GB, you
can do one of the following:
•
You can back up sections of the fileset (each section must be smaller than 2 GB).
•
You can compress the pax archive file. However, a compressed pax archive file
can only be restored from an OSS shell; the PINSTALL command cannot correctly
process a compressed pax archive.
To determine the size of the backup for an OSS fileset, assume that the backup
requires as much space as the fileset itself.
' The opening and closing single quotation marks (') enclose the substitution
expression.
, The first comma (,) indicates the end of the omitted line address argument.
The second and third commas indicate the beginnings of the two omitted
arguments.
^ The circumflex (^) means search from the beginning of the line.
/ The first slash (/) means search for the first occurrence of a slash.
/* The second slash and the asterisk (*) mean search for any number of
slashes (0 or more) following the required slash.
usr usr is the name of the directory to be searched.
/ The third slash means search for the first occurrence of a slash after usr.
/* The fourth slash and the asterisk mean search for any number of slashes (0
or more) following the required slash.