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

2 Technical Note
Backing up and Restoring HP Output Server, Version 3.4.1
Backing up HP Output Server on a UNIX host
Backing up HP Output Server on a UNIX host
This section describes how to back up HP Output Server on a UNIX host. For information about backing up HP
Output Server on a Windows host, see “Backing up HP Output Server on a Windows host” on page 6.
CAUTION: The information in this section assumes that HP Output Server and MySQL for HP
Output Management are installed in separate installation directories or on separate
hosts. If HP Output Server and MySQL for HP Output Management are installed in
the same directory on a UNIX host, see “Backing up and restoring same directory
installations (UNIX only)” on page 11.
Backing up HP Output Server includes the following tasks:
1. backing up the HP Output Server program and configuration files in installDir
2. backing up the configured databases
The following sections describe how to perform these tasks.
Task 1: Backing up program and configuration files
To back up your HP Output Server program and configuration files on a UNIX host, perform the following steps:
1. If you have not already done so, log on as the root user.
2. Set the HP Output Server environment variables by typing one of the following commands:
3. Stop all programs that monitor or depend on the HP Output Server installation that you want to back up.
4. Stop the HP Output Server servers by typing the following command:
stop_server -t all
5. Change to the installation directory for HP Output Server by typing the following command:
cd installDir
6. Back up and compress the existing installation by typing the following command:
tar -cvf - .|compress -c >/path/fileName.Z
where path is the target directory for the backup and fileName is a name for the backup file.
Shell Command
C source installDir/etc/setup_env.csh
Bourne or Korn . installDir/etc/setup_env.sh