Veritas-bu

[Veritas-bu] total full backup

2006-09-13 14:24:48
Subject: [Veritas-bu] total full backup
From: jpiszcz at lucidpixels.com (Justin Piszcz)
Date: Wed, 13 Sep 2006 14:24:48 -0400 (EDT)
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
>> 
>