Load Historic Events > Load Veritas NetBackup Events
  
Version 10.3.00P13
Load Veritas NetBackup Events
APTARE IT Analytics gathers backup events from both the NetBackup catalog and the NetBackup activity log. You specify the date range for the backup jobs that occurred during a given time period. To minimize the impact on performance, it is best to load backup events for each individual client. However, in many cases, this is not practical. Therefore, several methods are provided to accommodate various needs. Only successful jobs are retrieved from the NetBackup environment.
Load Events for Individual NetBackup Clients
To retrieve historic data from a NetBackup client, execute the following command-line scripts.
Windows:
C:\Program Files\Aptare\mbs\bin\symantec\load_nbu_backups.bat <metaDataCollectorId> <masterServerName> <client_name> "<Start_Date>" "<End_Date>"
Linux:
<APTARE HOME>/mbs/bin/symantec/load_nbu_backups.sh <metaDataCollectorId> <masterServerName> <client_name> "<Start_Date>" "<End_Date>"
Note: Start_Date and End_Date must be in the format: YYYY-MM-DD HH:MM:SS
Where:
The MetadataCollectorID can be found by executing the utility:
Windows: C:\opt\Aptare\mbs\bin\listcollectors.bat
Linux: /opt/aptare/mbs/bin/listcollectors.sh
Load Events for a Group of NetBackup Clients
To load historic events for a group of NetBackup clients, execute the following command-line scripts.
Note: This process will only load data for clients that are listed in standard policies. It will not retrieve data for clients not explicitly listed in policies. For example, VMware VMs that are part of a VMware Intelligent Policy will not be included.
Linux
1. Create a NetBackup client list:
/usr/openv/netbackup/bin/admincmd/bpplclients –noheader –allunique > /<APTARE HOME>/mbs/bin/client_list.txt
2. Load the list into a for loop:
for i in 'awk '{print $3}' /<APTARE HOME>/mbs/bin/client_list.txt'
do
/<APTARE HOME>/mbs/bin/load_nbu_backups.sh <metaDataCollectorId> <masterServerName> $i "<Start_Date>" "<End_Date>"
Done
Note: Start_Date and End_Date must be in the format: YYYY-MM-DD HH:MM:SS
Where:
The MetadataCollectorID can be found by executing the utility:
Windows: C:\opt\Aptare\mbs\bin\listcollectors.bat
Linux: /opt/aptare/mbs/bin/listcollectors.sh
Windows
1. Create a NetBackup client list:
C:\program files\Veritas\netbackup\bin\admin\cmd\bpplclients –noheader –allunique > "c:\program files\aptare\mbs\bin\client_list.txt"
2. Load the list into a for loop:
for /F "tokens=3" %A in ("c:\program files\aptare\mbs\bin\client_list.txt") do "c:\program files\aptare\mbs\bin\load_nbu_backups.bat" <metaDataCollectorId> <masterServerName> %A "<Start_Date>" "<End_Date>"
Note: Start_Date and End_Date must be in the format: YYYY-MM-DD HH:MM:SS
Note: If the path C:\Program Files fails, try it as C:\Progra~1 or C:\Progra~2