jobs_report.bat

25 02 2010

This batch is called by the main generateReport.vbs script. It used built-in Netbackup command line utilities to output the contents of the NBU database report section to a CSV whith the VBscript then imports.

1:  REM *** THIS BATCH FILE IS CALLED AUTOMATICALLY BY generateReports.bat ***
2:  REM *** Run bpdbjobs for todays report...
3:  @bpdbjobs -report -gdm > logs\report.csv
4:  REM *** Run again to add to master report...
5:  @bpdbjobs -report -gdm >> backups\reports_master.csv




job_summary.bat

25 02 2010

This simple batch simply generates a summary of recent jobs (total, number failed, etc…)

1:  REM *** THIS BATCH FILE IS CALLED AUTOMATICALLY BY generateReports.vbs ***
2:  @bpdbjobs -summary -L > logs\summary.log