Back up the HPOM database

The HPOM management server uses an SQL Server instance with a user-configurable name as core data repository. The HPOM installation suggests the name OVOPS as default name for this instance. The instance is also shared by other HP Software products, which create other databases in this instance. The full name of the database depends on the location of the database:

Scheduled task policy VP_SM_DB_Backup

HPOM self management includes the scheduled task policy "VP_SM_DB_Backup", which schedules and performs a backup of the openview database.

After you have installed the management server, deploy the policy to the system where the HPOM database is installed. Before deploying the policy, modify it as described below:

  1. Go to the policy editor.
  2. Open the policy at this location:

    Policy Groups HPOM Self Management en arrow Database Server VP_SM_DB_Backup

  3. Edit the Command field:
  4. In the Task tab, edit the Execute as user and the Specify password fields, and add the user account and password of a user with SQL Server administrator permissions.
  5. Optional: By default the database backup is scheduled for 0:30 a.m. every morning. If that time does not suit your needs, you can adopt the schedule in the Schedule tab.
  6. Deploy the policy to the system where the HPOM database is installed.

Backup and restore related VB scripts

Note NOTE:
Modification to these scripts requires basic knowledge of the Microsoft Visual Basic script language.

The following backup and restore scripts are located in the %OvInstallDir%\Support\ directory.

Location and housekeeping of backup files

The backup files of the openview database and the openview database transaction log are written into the following directory:

%OvDataDir%\datafiles\<instance name>\backup

Backup files are named as follows:

These files are overwritten on every new execution of the VP_SM_DB_Backup policy. If you want to keep them you have to ensure that they are stored on a storage device or copied into another location in the meantime.

You may change the location of the backup files by editing the VB script file %OvInstallDir%\Support\backup_openview.vbs.

Monitoring backup execution

The VP_SM_DB_Backup policy will send messages to the active messages browser:

Configuration on a remote database server

If the openview database runs on a remote database server you must deploy the VP_SM_DB_Backup policy on that server instead of the management server.

Starting the openview database backup manually

If you want to execute the backup job immediately, you can trigger this with the command:

cscript "%OvInstallDir%\support\backup_openview.vbs"

Note NOTE:
If the HPOM database is a remote database, the SQL Server instance name must be added to the command line:
%OvInstallDir%\support\backup_openview.vbs <servername>\<instance name>

Related Topics: