HPOS 3.4.1 Backing up and Restoring HP Output Server, Version 3.4.1
HP Output Server 5
Backing up and Restoring HP Output Server, Version 3.4.1
Restoring HP Output Server on a UNIX host
Restoring HP Output Server on a UNIX host
This section describes how to restore HP Output Server from a backup on a UNIX host. For information about
restoring HP Output Server from a backup on a Windows host, see “Restoring HP Output Server on a Windows host”
on page 9.
This section assumes that you have created a backup of HP Output Server by performing the steps in “Backing up HP
Output Server on a UNIX host” on page 2.
Restoring HP Output Server includes the following tasks:
1. recreating the databases from the backup
2. restoring the HP Output Server program and configuration files from the installDir backup
The following sections describe how to perform these tasks.
Task 1: Recreating the HP Output Server databases
Before you restore the program and configuration files for HP Output Server, you fix or recreate the databases.
Depending on the type of database backup that you created, use the following options to recreate the databases from
the backup.
CAUTION: Before you recreate HP Output Server databases from a backup, ensure that all HP
Output Server servers are stopped.
Recreating from a backup of all databases or specified databases
If you created a backup of all databases or more than one database, type the following commands to recreate the
databases from the backup:
cd mySQLinstallDir/bin
./mysql --defaults-file=mySQLinstallDir/my.cnf < /path/fileName
where
- mySQLinstallDir is the location of the MySQL for HP Output Management installation.
- path is the location you chose for saving a copy of the databases.
- fileName is the name of the backup file that you created for the databases.
Recreating a single database or specified tables in a single database
If you created a backup of a single database or specified tables in a single database, type the following commands to
recreate the database or tables from the backup:
cd mySQLinstallDir/bin
./mysql --defaults-file=mySQLinstallDir/my.cnf databaseName < /path/fileName
where
- mySQLinstallDir is the location of the MySQL for HP Output Management installation.
- databaseName is the name of the HP Output Server database in your backup, for example,
sluggo!d_4009_pm.
- path is the location you chose for saving a copy of the database or tables.
- fileName is the name of the backup file that you created for the database or tables.