HP-UX 11i Version 2 Installation and Update Guide, May 2005

Preparing to Install or Update to HP-UX 11i v2
Cold-Install Tasks
Chapter 476
Task 2: Backing Up Your Configuration Files
If you plan to cold-install HP-UX 11i v2 on a system that already has
HP-UX installed, make sure to save the files that you want to re-install,
such as:
Configuration files in /etc
The contents of /usr/local
Any local home directories (that is, those you do not import from
another system)
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:
1. Copy all config files from /etc on a system named system1 to system
system2. On system2, enter:
mkdir -p /backup/system1/etc
rcp -p your_name@system1:/etc/* /backup/system1/etc/
2. Copy your local home directory to the backup system:
mkdir -p /backup/system1/home
rcp -pr your_name@system1:/home/ /backup/system1/home/