Load events for a group of NetBackup clients
To load the 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.
Create a NetBackup client list:
/usr/openv/netbackup/bin/admincmd/bpplclients -noheader -allunique > /tmp/client_list.txt
Load the list into a for loop:
for i in `awk '{print $3}' /tmp/client_list.txt` do /<APTARE HOME>/mbs/bin/veritas/load_nbu_backups.sh <metaDataCollectorId> <primaryServerName> $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 following utility:
For Windows: C:\opt\Aptare\mbs\bin\listcollectors.bat
For Linux: /opt/aptare/mbs/bin/listcollectors.sh
Create a NetBackup client list:
C:\program files\Veritas\netbackup\bin\admincmd\bpplclients -noheader -allunique > c:\client_list.txt
Load the list into a for loop:
for /F "tokens=3" %A in (c:\client_list.txt) do "c:\program files\aptare\mbs\bin\veritas\load_nbu_backups.bat" <metaDataCollectorId> <primaryServerName> %A "<Start_Date>" "<End_Date>"
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