Re: [Veritas-bu] determining size of last full backup of each policy

2006-06-29 Thread King, Cheryl
I use bpimagelist and change the parms depending on what I need.  You
can do it by type, full incremental, policy etc.  Change the dates and
times for your window of course.

/usr/openv/netbackup/bin/admincmd/bpimagelist -l -st FULL -d 1l/25/05
21:00:00 -e 11/28/05 08:00:00 | grep IMAGE | awk '{ tot+=$19} END {
printf "Backed up %9.0f KiloBytes in the last FULL backup\n",tot }'

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
L. Sesar
Sent: Thursday, June 29, 2006 8:02 AM
To: NetBackup Veritas
Subject: [Veritas-bu] determining size of last full backup of each
policy

I'm going through a sizing exercise right now and need to determine how 
much data each full backup represents. Before re-inventing the wheel, 
does anyone have any quick and dirty ways of accomplishing this?

Thanks,
Steve
___
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] determining size of last full backup of each policy

2006-06-29 Thread Steven L. Sesar
The problem is, and I probably wasn't clear about this in my original 
post, is that I need *unique* full backups. Some of our backup policies, 
ie Oracle and Exchange, contain only full backup schedules. Something 
like this will result in *all* fulls taken during a given time period.

Thanks for all of your responses!


King, Cheryl wrote:

>I use bpimagelist and change the parms depending on what I need.  You
>can do it by type, full incremental, policy etc.  Change the dates and
>times for your window of course.
>
>/usr/openv/netbackup/bin/admincmd/bpimagelist -l -st FULL -d 1l/25/05
>21:00:00 -e 11/28/05 08:00:00 | grep IMAGE | awk '{ tot+=$19} END {
>printf "Backed up %9.0f KiloBytes in the last FULL backup\n",tot }'
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Steven
>L. Sesar
>Sent: Thursday, June 29, 2006 8:02 AM
>To: NetBackup Veritas
>Subject: [Veritas-bu] determining size of last full backup of each
>policy
>
>I'm going through a sizing exercise right now and need to determine how 
>much data each full backup represents. Before re-inventing the wheel, 
>does anyone have any quick and dirty ways of accomplishing this?
>
>Thanks,
>Steve
>___
>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] determining size of last full backup of each policy

2006-06-29 Thread Peter DrakeUnderkoffler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You could always run bpimmedia and specify a schedule type and
and date/time range.  The rows that start with "FRAG", the fourth
field is kilobytes. Query, sum, report...

Thanks
Peter

Peter DrakeUnderkoffler
Xinupro, LLC
617-834-2352



Steven L. Sesar wrote:
> I'm going through a sizing exercise right now and need to determine how 
> much data each full backup represents. Before re-inventing the wheel, 
> does anyone have any quick and dirty ways of accomplishing this?
> 
> Thanks,
> Steve
> ___
> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFEo+P/l+lekZRM55oRAvjEAJ9Wo+/7TMxJlC/IjZf4Yh5nRf5pyQCgpgl0
uAZt/hBDenoxtrW1zm8YLVI=
=VJJE
-END PGP SIGNATURE-
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] determining size of last full backup of each policy

2006-06-29 Thread Justin Piszcz
Well one way would be:

echo "" | mail -s "$(/bin/hostname | cut -f1 -d'.'): 
$(/usr/openv/netbackup/bin/admincmd/bperror -all -hoursago 24 | grep 
"successfully wrote backup id" | awk '{Kbytes= Kbytes + $18/1024/1024} END 
{print "Backed up",Kbytes,"Gigabytes"}') For ($yesterday - $today)"

Grep for the appropriate policies/clients.

Second way, modify the perl script "bpreport.pl" which you can find on the 
archives of this list, does some cool things as well.

Ultimately though, if you don't use one of those two, if you kept the job 
information in the activity monitor and each job was a full backup, you 
could just run bpdbjobs and grab the size of the last backup, grepping for 
full.

No real easy way to accomplish this apparently.


On Thu, 29 Jun 2006, Steven L. Sesar wrote:

> I'm going through a sizing exercise right now and need to determine how
> much data each full backup represents. Before re-inventing the wheel,
> does anyone have any quick and dirty ways of accomplishing this?
>
> Thanks,
> Steve
> ___
> 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] determining size of last full backup of each policy

2006-06-29 Thread Steven L. Sesar
I'm going through a sizing exercise right now and need to determine how 
much data each full backup represents. Before re-inventing the wheel, 
does anyone have any quick and dirty ways of accomplishing this?

Thanks,
Steve
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu