[Veritas-bu] Total Data BACKED up in NetBackup
Title: Message Guys quick question - is there a SIMPLE method to calculating just HOW much Data NetBackup backed up last week? Regards Simon Weaver3rd Line Technical SupportWindows Domain Administrator EADS Astrium Limited, B32AA IM (DCS)Anchorage Road, Portsmouth, PO3 5PU Email: [EMAIL PROTECTED] 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@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Total Data BACKED up in NetBackup
Title: Message 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 Weaver3rd Line Technical SupportWindows Domain Administrator EADS Astrium Limited, B32AA IM (DCS)Anchorage Road, Portsmouth, PO3 5PU Email: [EMAIL PROTECTED] -Original Message-From: WEAVER, Simon Sent: 12 June 2006 09:28To: 'veritas-bu@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 Weaver3rd Line Technical SupportWindows Domain Administrator EADS Astrium Limited, B32AA IM (DCS)Anchorage Road, Portsmouth, PO3 5PU Email: [EMAIL PROTECTED] 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. 2449259Registered 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@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Total Data BACKED up in NetBackup
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: //[EMAIL PROTECTED]/ mailto:[EMAIL PROTECTED] -Original Message- *From:* WEAVER, Simon *Sent:* 12 June 2006 09:28 *To:* 'veritas-bu@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: //[EMAIL PROTECTED]/ mailto:[EMAIL PROTECTED] 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@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Total Data BACKED up in NetBackup
oh and $div needs to be 1 1024, or 1048576. I do it like this :- totalsize() { size=$1 if [ $size = KB ];then div=1 elif [ $size = MB ];then div=1024 elif [ $size = GB ];then div=1048576 #1024*1024 else killme 1 No Valid size format passed to function totalsize fi 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' }' } Dave Markham wrote: 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: //[EMAIL PROTECTED]/ mailto:[EMAIL PROTECTED] -Original Message- *From:* WEAVER, Simon *Sent:* 12 June 2006 09:28 *To:* 'veritas-bu@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: //[EMAIL PROTECTED]/ mailto:[EMAIL PROTECTED] 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@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Total Data BACKED up in NetBackup
Dave Im starting to wonder if the Media Written report is just going to be an easier way, rather than scripting anything? I can then export the info to excel and get a grand total. Is the Written report the same as bpimagelist? Thanks :-) Regards Simon Weaver 3rd Line Technical Support Windows Domain Administrator EADS Astrium Limited, B32AA IM (DCS) Anchorage Road, Portsmouth, PO3 5PU Email: [EMAIL PROTECTED] -Original Message- From: Dave Markham [mailto:[EMAIL PROTECTED] Sent: 12 June 2006 12:18 To: [EMAIL PROTECTED] Cc: WEAVER, Simon; 'veritas-bu@mailman.eng.auburn.edu' Subject: Re: [Veritas-bu] Total Data BACKED up in NetBackup oh and $div needs to be 1 1024, or 1048576. I do it like this :- totalsize() { size=$1 if [ $size = KB ];then div=1 elif [ $size = MB ];then div=1024 elif [ $size = GB ];then div=1048576 #1024*1024 else killme 1 No Valid size format passed to function totalsize fi 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' }' } Dave Markham wrote: 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: //[EMAIL PROTECTED]/ mailto:[EMAIL PROTECTED] -Original Message- *From:* WEAVER, Simon *Sent:* 12 June 2006 09:28 *To:* 'veritas-bu@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: //[EMAIL PROTECTED]/ mailto:[EMAIL PROTECTED] 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@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu 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@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu