Veritas-bu

[Veritas-bu] total full backup

2006-09-13 15:56:34
Subject: [Veritas-bu] total full backup
From: jpiszcz at lucidpixels.com (Justin Piszcz)
Date: Wed, 13 Sep 2006 15:56:34 -0400 (EDT)
Incorrect,

Look at your example, in each example you have fragments (multiplex), if 
you run NON-MULTIPLEXED backups, it will not equal the same value.

Justin.

On Wed, 13 Sep 2006, Shyam Hazari wrote:

> The output from bperror and bpimagelist does add up correctly. I also
> compared the output from bpimagelist to the job in netbackup Activity
> monitor. It's accurate too. $19 should be the right field for calculating
> the total backup.
>
> bperror -all -hoursago 24 | grep "successfully wrote backup id"|grep
> host1_1158156297
>
> 1158156390 1 4 4 rfbackup 345859 345859 0 host1 bpdm successfully wrote
> backup id host1_1158156297, copy 1, fragment 1, 2000384 Kbytes
> 1158156401 1 4 4 rfbackup 345859 345859 0 host1 bpdm successfully wrote
> backup id host1_1158156297, copy 1, fragment 2, 193440 Kbytes
> 1158160287 1 4 4 rfbackup 345883 0 0 host1 bptm successfully wrote backup id
> host1_1158156297, copy 2, fragment 1, 2048000 Kbytes at 15389.240 Kbytes/sec
> 1158160310 1 4 4 rfbackup 345883 0 0 host1 bptm successfully wrote backup id
> host1_1158156297, copy 2, fragment 2, 145824 Kbytes at 16371.842 Kbytes/sec
>
> bpimagelist -l -hoursago 24 -M mserver|grep IMAGE|awk '{print $6"   "$7"
> "$11"   "$18"   "$19"   "$20"   "$22}'|grep host1_1158156297
>
> host1_1158156297   host1_policy   Daily_Full   0   2193824   19   4
> -Shyam
>
>
> On 9/13/06, Justin Piszcz <jpiszcz at lucidpixels.com> wrote:
>> 
>> Perhaps they are using different output in that technote.
>> 
>> Look at the following:
>> 
>> ##########
>> # $ sudo ./bperror -all -hoursago 24 | grep "successfully wrote backup id"
>> |grep -v fragment | head -1
>> # 1153758596 1 4 4 client2.box.com 1931503 1931503 0 client2.box.com bptm
>> successfully wrote backup id client2.box.com_1153757993, copy 1, 14252252
>> Kbytes
>> 
>> ##########################################################################################
>> # FRAGMENT
>> # $ sudo ./bperror -all -hoursago 24 | grep "successfully wrote backup id"
>> |grep fragment | head -1
>> # 1153758713 1 4 4 client1.box.com 1922568 1922568 0 client1.box.com bptm
>> successfully wrote backup id client1.box.com_1153742612, copy 1, fragment
>> 56, 2000128 Kbytes at 5676.892 Kbytes/sec
>> 
>> If it is a fragment vs. not a fragment, it is two columns over.
>> 
>> Look at the 2000128 Kbytes.
>> 
>> This is because the second has 'fragment 56'
>> 
>> Do you see this?
>> 
>> Justin.
>> 
>> On Wed, 13 Sep 2006, Shyam Hazari wrote:
>> 
>> > Justin,
>> >
>> > As per the following technote 18 is for encryption and 20 is for number
>> of
>> > files.
>> >
>> > http://seer.support.veritas.com/docs/193085.htm
>> >
>> > 18 Encryption 0 0 = NO Encryption not used, 1 = YES Encryption used.
>> > 19 Kbytes
>> > Written 5612 The number of Kbytes backed up. 20 Number of Files 15 The
>> > number of files backed up.
>> > -Shyam
>> >
>> > On 9/13/06, Justin Piszcz <jpiszcz at lucidpixels.com> wrote:
>> >>
>> >> Nice, but a bad idea dude.  Multiplex backups and non-multiplex backups
>> >> are either $18 or $20, otherwise, your calculations will be off!
>> >>
>> >> You need to do each one separately and/or with awk to get the correct
>> data
>> >> amounts.
>> >>
>> >> Justin.
>> >>
>> >> On Wed, 13 Sep 2006, Dean wrote:
>> >>
>> >> > Er, I just noticed the typos in my message below.
>> >> > The command should be ....
>> >> >
>> >> > bpimagelist -hoursago 24 | grep IMAGE | awk '{tot+=$19}END{print
>> >> > tot/1024/1024}'
>> >> >
>> >> > Woops!
>> >> >
>> >> > On 9/13/06, Dean <dean.deano at gmail.com> wrote:
>> >> >>
>> >> >> If your Master Server is some kind of UNIX....
>> >> >>
>> >> >> bpiamgelist -hourago 24 | grep IMAGE | awk '{tot+=$19}END{print
>> >> >> tot/1024/1024}'
>> >> >>
>> >> >> ... will tell you the total GB backed up in the previous 24 hours.
>> >> >>
>> >> >> You can use more parameters of bpimagelist to, for example, only
>> look
>> >> at
>> >> >> data from one policy, or a certain date range, or a specific client.
>> >> These
>> >> >> parameters are documented in the NetBackup Commands manual, or you
>> can
>> >> get
>> >> >> some hints by running bpimagelist -?
>> >> >>
>> >> >>
>> >> >>
>> >> >> On 9/13/06, Adeday <adeday at gmail.com> wrote:
>> >> >>
>> >> >> > what will be the NBU command to tell the total size of a full
>> backup
>> >> >> done? by policy or in total of all the policies?
>> >> >>
>> >> >> Thanks in advance.
>> >> >>
>> >> >>
>> >> >> _______________________________________________
>> >> >> Veritas-bu maillist  -   Veritas-bu at mailman.eng.auburn.edu
>> >> >> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >
>> >> _______________________________________________
>> >> Veritas-bu maillist  -  Veritas-bu at mailman.eng.auburn.edu
>> >> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>> >>
>> >
>> 
>