Load HP Data Protector Events
Collecting Missed Events
Occasionally, there may be data that was missed by the scheduled Data Collection process. For example, the server may have been unavailable for a period of time. Or, you may want to capture data that was available before you actually installed the HP Data Protector Data Collector software.
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 utility:
Windows: C:\opt\Aptare\mbs\bin\listcollectors.bat
Linux: /opt/aptare/mbs/bin/listcollectors.sh
• Dates need to be in yyyy-mm-dd hh:mm:ss format.
• Specifying verbose will log the Data Protector commands called to the eventcollector.log file.
Note: If the Start and End Dates are not specified, the utility will capture events that occurred in the last 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. 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".