Backing up the private directory
The private directory can be backed up using either the pax command or the tar command.
Assume the current private directory for HOD V11 is /usr/lpp/HOD/Host On-Demand/private:
- From the Host On-Demand V11 File System, change the directory to the private directory: cd /usr/lpp/HOD/Host On-Demand/private.
- Archive the private directory in a /tmp directory. The -z option compresses the file; the -v provides a list of files and subdirectories being archived (optional) : pax -wzvf /tmp/private.pax.Z * .
- Copy the private.tar.Z file to the /tmp directory on the system for Host On-Demand V12, if it is a different system.
- On the Host On-Demand V12.0 HFS, change the directory to the private directory where the file will be extracted: cd /usr/lpp/HOD/Host On-Demand/private.
- Issue the pax command to extract the private.pax.Z file. The -z option specifies a compressed file; the -v provides a list of files and subdirectories being extracted (optional) : pax -rzvf /tmp/private.pax.Z.