Networker

Re: [Networker] getting size of group's full backup?

2006-03-03 08:28:20
Subject: Re: [Networker] getting size of group's full backup?
From: Conrad Macina <conrad.macina AT PFIZER DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 3 Mar 2006 08:26:18 -0500
If the whole group does a full backup on the same day and you know the date,
it's relatively easy:

mminfo -r 'totalsize' -q \
'group=mygroup,level=full,savetime>=mm/dd/yy,savetime<mm/dd+1/yy'

Where mm/dd/yy is the backup date you're interested in and mm/dd+1/yy is the
following day. This will list the size of each level=full save set backed up
on the given date. Add the list and you're done.

If the clients in the group do their fulls on different days it gets a bit
more complex. You'd use a command like this:

mminfo -ot -r 'client,name,savetime(17),totalsize' -q
'group=mygroup,level=full,savetime>mm/dd/yy'

where mm/dd/yy is the earliest day you're interested in. This will give you
a time-sorted list of the size of each full save set for each client in the
group. You might want to parse its output, to figure out the desired
instance of each client/save set in the list, and to total up the 3rd column.

Conrad Macina
Pfizer, Inc.


On Thu, 2 Mar 2006 11:35:55 -0600, Dewhirst, Rob <dewey AT KU DOT EDU> wrote:

>Is there an easy way to determine the total size of a Group's last full
>backup?
>
>To sign off this list, send email to listserv AT listserv.temple DOT edu and 
>type
"signoff networker" in the
>body of the email. Please write to networker-request AT listserv.temple DOT 
>edu if
you have any problems
>wit this list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
>via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
>=========================================================================

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>