HP (Hewlett-Packard) 5187-2725 Server User Manual


 
Preparing to Migrate to HP-UX 11i v2
Saving Configuration Files
Chapter 4 75
Saving Configuration Files
If you are planning to cold-install HP-UX 11i v2 on a system that already
has HP-UX installed, be sure to save the files that you will want to
re-install.
These include a number of configuration files in /etc, the contents of
/usr/local, any local home directories (that is, those you do not import
from another system), and any configuration files located in the
/etc/opt directories for installed software.
If multiple users are preparing for the cold-install, you might consider
creating a directory (such as /backup) on another system. Do not create
this directory on your root disk. Mount it with sam. Then create a
subdirectory for each system or user (for example, /backup/your_sys).
As root, copy the files. For example:
Step 1. Copy all config files from /etc on a system named system1 to system
system2. On system2, enter:
mkdir /backup/system1/etc
rcp -p
your_name
@system1:/etc/* /backup/system1/etc/.
Step 2. Copy your local home directory to the backup system:
mkdir /backup/system1/home
rcp -pr
your_name
@system1:/home/ /backup/system1/home/