Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

backup status and media used script

Status
Not open for further replies.

dbase77

Technical User
Apr 23, 2002
591
IE
Hi,

Is there a way I could get backup status for everyday backup schedule and the media that being used? What I want to do here is to let the system email this info everyday after backup. Anybody want to share their experience on this?

Thank you in advance.

regards,
feroz
 
To get the tapes used ...
bpimagelist -media -U -hoursago <TimeFrame> -server <MediaServer>
This will simply give you a list of all tapes that you have used in the specified time frame, typically 24 hours.

For job status etc ...
bpdbjobs -report -all_columns This gives a detailed print out of all backup jobs.
bpdbjobs -summary -L This is a summary of all jobs.
bpdbjobs.exe -report

With these report I do a number of things such as eliminating fields that I do not want, exporting the results into an Oracle table, printing out a summarized report etc.

Hopefully this can get you started.
 
Hi,

That should do the trick. Thanks again.

feroz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top