If you used the scheduled task policy VP_SM_DB_Backup or the tool backup_openview.vbs to create a backup of the HPOM database, you can restore it manually. Before you can start restoring the HPOM database, you must stop the management server processes.
vpstat -3 -r
STOP
.net stop winmgmt
to stop the WMI
service.Restore the backup files for the HPOM database backup to the
same folder that they were generated in on the failed HPOM server.
By default this is <HPOM database files
folder>\Backup\
.
To start the restore operation:
cscript
%OvInstallDir%\support\restore_openview.vbs
.
cscript
restore_openview.vbs TCVM08\OVOPS
).Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. HPOM is stopped This backup files will be used to restore the openview database: BackupType: Full DB backup BackupFileLocation: E:\HPOM\Data\datafiles\OVOPS\backup\openview_dat.bak BackupName: openview_Full BackupStartDate: 2006-11-09 14:55:59.000 BackupFinishDate: 2006-11-09 14:56:06.000 BackupType: Transaction log backup BackupFileLocation: E:\HPOM\Data\datafiles\OVOPS\backup\openview_log.bak BackupName: openview_Log BackupStartDate: 2006-11-09 14:56:06.000 BackupFinishDate: 2006-11-09 14:56:06.000 Are you sure that you want to replace the current openview DB with the contents of the backup above ? (y/n) y replace openview database with Restore Restore succeeded
Related Topics: