Load HP Data Protector events
The HP Data Protector (HPDP) Historic event collection captures backup details for all the sessions within a given time frame which is present in HPDP System. It uses the HPDP omnidb and omnirpt CLIs to query the data protector internal database for detailed backup information.
omnidb - Queries the data protector internal database. This command is available on systems with the data protector user interface component installed.
omnirpt - Generate various reports of the data protector environment, for example, about backup, object copy, object consolidation and object verification sessions in a specific time phase, session specification, media, data protector configuration, and single sessions. This command is available on systems with the data protector user interface component installed.
Windows:
C:\Program Files\Aptare\mbs\bin\dataprotector\hpdphistoricevents.bat
Linux:
<APTARE HOME>/mbs/bin/dataprotector/hpdphistoricevents.sh
To capture data from a specific period, use the following utility:
hpdphistoricevents.{sh|bat} <EventCollectorID> <ServerID> ["<Start Date>" "<End Date>"] [verbose]
Where:
The EventCollectorID and the ServerID can be found by executing the following utility:
For Windows: C:\opt\Aptare\mbs\bin\listcollectors.bat
For Linux: /opt/aptare/mbs/bin/listcollectors.sh
yyyy-mm-dd hh:mm:ss date format.
Specifying verbose will log the Data Protector commands called to the
eventcollector.logfile.
Note:
If the Start and End Dates are not specified, the utility will capture events that occurred in the previous 24 hours. HP Data Protector commands ignore the time segment of the start and end date values. In addition, the end date value is used as an "until" value.
Note:
For example, a value of "2015-05-11 23:59:59" will only collect historic values up to 2015-05-11 00:00:00. To collect values for the date of 2015-05-11 you should enter a end date of "2015-05-12 00:00:00".