Load Historic Events > Load Veritas NetBackup Events
  
Version 10.0.00
Load Veritas NetBackup Events
StorageConsole 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
Load Events for a Group of NetBackup Clients
To load historic events for a group of NetBackup clients, execute the following command-line scripts.
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
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