Load Historic Events > Load Events for a Group of NetBackup Clients
  
Version 10.0.01
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 > /<HDS HOME>/mbs/bin/client_list.txt
2. Load the list into a for loop:
for i in 'awk '{print $3}' /<HDS HOME>/mbs/bin/client_list.txt'
do
/<HDS 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