Open System Services Management and Operations Guide (G06.29+, H06.07+)
Managing OSS Files
Open System Services Management and Operations Guide—527191-005
6-25
Restoring User Files
Restoring Security Data Used For File Access
The security database files contain user ID aliases, file-sharing groups, and initial-
directory information. This user information can be reconstructed by one of the
following methods:
•
Use Safeguard OBEY files, previously created as described in Backing Up the
OSS Environment Using a Version of Backup/Restore on page 6-14
•
Use RESTORE on all of the Guardian files described in Backing Up the OSS
Environment Using a Version of Backup/Restore on page 6-14. This approach
recovers passwords but at the risk of using files corrupted by being changed during
backup. To use RESTORE:
1. Restore the security database files using the RESTORE MAP NAMES and
OPEN options as new files in a temporary location (subvolume).
2. Use the File Utility Program (FUP) to rename the old security database files
and to move the restored copies to the correct subvolume.
3. Stop and restart Safeguard and all Expand lines to close the old security
database files and open the restored ones.
Restoring a pax Archive of OSS Files Directly From the
Guardian Environment
The PINSTALL utility that runs in the Guardian environment can restore a pax archive
backup made as described in Creating a pax Backup of OSS Files in the Guardian File
System on page 6-21 directly into the OSS file system.
At a TACL prompt, use PINSTALL to restore the backup to the OSS file system. For
example, to restore the $OSS.BACKUP.PAXHOME pax archive file, you would enter
the following command:
PINSTALL -pe -rvf /G/oss/backup/paxhome
Restoring a Compressed pax Archive of OSS Files From the
Guardian File System
The compressed pax archive made as described in Creating a pax Backup of OSS
Files in the Guardian File System on page 6-21 can be restored directly into the OSS
file system using the following OSS shell command:
zcat < /G/oss/backup/paxhome | pax -rv -pe
The zcat command uncompresses the file and sends the result to the pax command,
where the -pe flags preserve the file permissions.