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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Total Full Backups For Week 1

Status
Not open for further replies.

smicro

MIS
Dec 26, 2002
281
0
0
US
We have Veritas 7 and OPS Center and looking for a report that lists the total size of all of the full backups for the week. Didn't need individual size just total size. We looked in ops center but couldn't find anything even in custom reports. Is this possible in ops center or does a custom script need to be created? Thanks.
 
I'm not sure about Ops Center, but you can whip up something using bpimagelist pretty easily.

bpimagelist -st full -d <BEGIN DATE> <BEGIN TIME> -e <END DATE> <END TIME> -A | nawk '/Kilobytes/{TOTAL+=$2/1048576}END{print TOTAL}'

or just using 7 days = 168 hours

bpimagelist -st full -hoursago 168 -A | nawk '/Kilobytes/{TOTAL+=$2/1048576}END{print TOTAL}'

Hope that helps.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top