Have you tried this :-
bpimagelist -l -hoursago $hoursago | grep IMAGE | awk '{ tot+=$19} END
{ printf "Data backed up in the last '$hoursago' hours: %9.0f
'$size'\n",tot/'$div' }'
$size is one of KB, MB or GB and $hoursago just substitute with the
hours you want to go back.
I have this in my daily report see so know how much is done total each
night.
WEAVER, Simon wrote:
> */Forgot to add, used the Media Written report for 1 week period,
> which I can then add a total, gives me a round figure, but wondered if
> this was good enough!/*
> *//*
> */Thanks/*
>
> /Regards/
>
> /Simon Weaver
> *3rd Line Technical Support
> Windows Domain Administrator*/
>
> /EADS Astrium Limited, B32AA IM (DCS)/
> /Anchorage Road, Portsmouth, PO3 5PU/
>
> /Email: //Simon.Weaver at Astrium-eads.net/
> <mailto:Simon.Weaver at Astrium-eads.net>
>
> -----Original Message-----
> *From:* WEAVER, Simon
> *Sent:* 12 June 2006 09:28
> *To:* 'veritas-bu at mailman.eng.auburn.edu'
> *Subject:* [Veritas-bu] Total Data BACKED up in NetBackup
>
> */Guys/*
> */quick question - is there a SIMPLE method to calculating just
> HOW much Data NetBackup backed up last week?/*
>
>
> /Regards/
>
> /Simon Weaver
> *3rd Line Technical Support
> Windows Domain Administrator*/
>
> /EADS Astrium Limited, B32AA IM (DCS)/
> /Anchorage Road, Portsmouth, PO3 5PU/
>
> /Email: //Simon.Weaver at Astrium-eads.net/
> <mailto:Simon.Weaver at Astrium-eads.net>
>
>
> This email is for the intended addressee only.
> If you have received it in error then you must not use, retain,
> disseminate or otherwise deal with it.
> Please notify the sender by return email.
> The views of the author may not necessarily constitute the views
> of EADS Astrium Limited.
> Nothing in this email shall bind EADS Astrium Limited in any
> contract or obligation.
>
> EADS Astrium Limited, Registered in England and Wales No. 2449259
> Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire,
> SG1 2AS, England
>
> This email is for the intended addressee only.
> If you have received it in error then you must not use, retain,
> disseminate or otherwise deal with it.
> Please notify the sender by return email.
> The views of the author may not necessarily constitute the views of
> EADS Astrium Limited.
> Nothing in this email shall bind EADS Astrium Limited in any contract
> or obligation.
>
> EADS Astrium Limited, Registered in England and Wales No. 2449259
> Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1
> 2AS, England
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Veritas-bu maillist - Veritas-bu at mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
|