5
where
OSQL=C:\Microsoft SQL Server\90\Tools\Binn\OSQL.EXE
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 HPWebJetadmin directory to
the Settings directory in WJABackupRestore:
xcopy /e/v/i/q/h/k/o/x %SETTINGS_DIR% %SETTINGS_BACKUP_DIR%
where
SETTINGS_DIR=C:\Windows\ServiceProfiles\NetworkService\AppData\Local\HP
Inc\HPWebJetadmin
SETTINGS_BACKUP_DIR=C:\Program Files\HP Inc\Web Jetadmin 10\
WJABackupRestore\Settings
8. The following command starts the HP Web Jetadmin service:
%SERVICE% -start
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
There is also now a Settings directory that contains all of the files that were copied from the following
directory:
C:\Windows\ServiceProfiles\NetworkService\AppData\Local\HP Inc\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 Service Release 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
Commentaires sur ces manuels