HPOS 3.4.1 Backing up and Restoring HP Output Server, Version 3.4.1
10 Technical Note
Backing up and Restoring HP Output Server, Version 3.4.1
Restoring HP Output Server on a Windows host
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.
Task 2: Restoring the HP Output Server installation directory
To restore an existing installation of HP Output Server on a Windows host, perform the following steps:
1. If you have not already done so, log in as an administrator.
2. Install HP Output Server from the product CD-ROM.
3. Install any patches you previously installed for HP Output Server.
4. Open a Command Prompt.
5. Stop the HP Output Server servers by typing the following command:
stop_server -t all
6. Change to the installation directory for HP Output Server by typing the following command:
cd installDir
7. Use a file extraction utility, such as the unzip command, PKZIP or WinZip, to restore the previous installation
with the backup copy of the files. For example:
unzip fileName
where fileName is the name of the backup file.
8. Start the HP Output Server servers by typing the following command:
start_server -t all