HP Web Jetadmin Software - Backup and Cloning of an HP Web Jetadmin Installation
5
6. The .sql script runs the following command to create the HPWJA_DB_BACKUP.dat file and copy
the file to the WJABackupRestore directory:
copy %DB_BACKUP_DIR%\%DB_BACKUP_FILENAME% %DB_BACKUP_FILENAME%
where
DB_BACKUP_DIR=C:\HPWJA_DB_BACKUP
DB_BACKUP_FILENAME=HPWJA_DB_BACKUP.dat
7. The following command copies the necessary directories from the Documents and Settings
directory to the Settings directory in WJABackupRestore:
xcopy /e/v/i/q/h/k/o/x %SETTINGS_DIR% %SETTINGS_BACKUP_DIR%
where
SETTINGS_DIR=DRIVE:\Documents and Settings\NetworkService\Local Settings\Application
Data\Hewlett-Packard\HPWebJetadmin
SETTINGS_BACKUP_DIR=DRIVE:\Program Files\Hewlett-Packard\Web Jetadmin 10\
WJABackupRestore\Settings
8. The following command starts the HP Web Jetadmin service:
%SERVICE% -start
9. The WJABackupRestore directory now includes the following new files:
HPWJA_DB_BACKUP.dat—Database backup
Osql_backup.log—Log file capturing the details of the database backup
10. There is also now a Settings directory that contains all of the files that were copied from the
following directory:
DRIVE:\Documents and Settings\NetworkService\Local Settings\Application Data\Hewlett-
Packard\HPWebJetadmin
RESTORE AN HP WEB JETADMIN INSTALLATION
Restoring a broken or removed installation of HP Web Jetadmin involves installing a fresh copy of the
same version of HP Web Jetadmin on which a backup was performed, and then copying the files that
were backed up on top of the fresh installation. After the installation of a fresh HP Web Jetadmin is
complete, stop the HP Web Jetadmin service, copy the backup files to the appropriate locations, and
then restart the HP Web Jetadmin service.
One of the following restoration scenarios is possible:
HP Web Jetadmin is installed on the same host where the backup was performed, and that host
has the same supported Windows OS instance that was installed when the backup was
performed.
HP Web Jetadmin is installed on the same host where the backup was performed, but that host
has a supported Windows OS instance that is different from the Windows OS instance that was
installed when the backup was performed.
HP Web Jetadmin is installed on a different host than the host where the backup was performed.
NOTE When restoring the settings and database information to the HP Web Jetadmin host,
encrypted data no longer functions if the host or Windows OS instance is different from
the host or Windows OS instance that was used to process the original file-set. For more