HPOS 3.4.1 Backing up and Restoring HP Output Server, Version 3.4.1

12 Technical Note
Backing up and Restoring HP Output Server, Version 3.4.1
Backing up and restoring same directory installations (UNIX only)
Restoring same directory installations (UNIX only)
This section assumes that you have created a backup of HP Output Server and MySQL for HP Output Management
by performing the steps in “Backing up same directory installations (UNIX only)” on page 11.
To restore an existing installation of HP Output Server on a UNIX host, when HP Output Server and MySQL for HP
Output Management are installed in the same directory, perform the following steps:
1. If you have not already done so, log in as the root user.
2. Set the HP Output Server environment variables by typing one of the following commands:
3. Ensure that HP Output Server servers and the MySQL server are stopped before restoring the installations from
the backup. Stop HP Output Server servers before stopping the MySQL server. For the commands to use for
stopping HP Output Server servers and the MySQL server, see steps 4 and 5 in “Backing up same directory
installations (UNIX only)” on page 11.
4. On AIX hosts, run the slibclean command to ensure that library files are not in use.
5. Change to the installation directory for HP Output Server and MySQL for HP Output Management by typing the
following command:
cd sharedInstallDir
where sharedInstallDir is the installation directory of HP Output Server and MySQL for HP Output
Management.
6. Restore the previous installations of HP Output Server and MySQL for HP Output Management with the backup
copy of the files by typing the following command:
zcat fileName.Z | tar -xvf -
where fileName is the name of the backup file.
7. Start the MySQL server by typing the following commands:
cd mySQLinstallDir
./bin/mysqld_safe --defaults-file=mySQLinstallDir/my.cnf &
8. Start the HP Output Server servers by typing the following command:
start_server -t all
Shell Command
C source installDir/etc/setup_env.csh
Bourne or Korn . installDir/etc/setup_env.sh