Script to execute the status of backups
Hi,
I have a NB Master SunOS 5.10 , NB 7.1v
I do not have Ops-Centre in my environment ,hence need to implement a script for the below requirement,
1) Need to get the backup status i.e., Success or failed with error codes
2) Backup type,schedule,last successful backups
3) Date range either individual date i.e., previous date\night backups alone & also to specify the date range i.e.,for the last one week
4) Size of the backups & expiration date
Kinldy assist ...
It could be a bit convoluted as will require input from more than one source
e.g.
bperror -backstat -U (will detail all jobs over the last 24 hours & their status (for failed jobs this may be your only option?) - depending on your master settings this could potentially be only held for the last 3 days)
bpimagelist could be used for more in-depth reporting of successful jobs re: size, retention, last successful etc (see example here for some idea(s): https://www-secure.symantec.com/connect/forums/script-executionparameters#comment-10955651 )
Unless any of the canned reports are more what you're looking for in the Admin Console?