Networker

Re: [Networker] backup size

2004-10-22 14:41:51
Subject: Re: [Networker] backup size
From: "Reed, Ted G II [ITS]" <ted.reed AT MAIL.SPRINT DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 22 Oct 2004 13:40:42 -0500
mminfo -s ServerName -ot -r 'totalsize' -q 'savetime >= 10/17/04 12:00, 
savetime <= 10/18/04 11:59' | awk '{sum=sum+$0};END{print sum}'

If you want a single client, add to the -q "client = ClientName".  If want a 
groups total for the night, add to the -q "group = GroupName".  As given above, 
it will list the total (in bytes) of 24hrs worth of backups.  YMMV
--Ted

-----Original Message-----
From: Legato NetWorker discussion
[mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU]On Behalf Of Michael Brooks
Sent: Friday, October 22, 2004 12:43 PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] backup size


that is what i have been doing...that is, dumping the mminfo output to a
spreadsheet file and analyzing this way. i just thought someone may have
come up with a script/command string that shows total data amount (in mb
or gb) from a complete single backup of a particular group w/o taking
into account the individual savesets -- it is the amount of data backed
up per night (written to tape) that i am looking for. i have a few good
suggestions to interpret for our environment. thanx all


michael brooks ............... michaelb AT sequoiains DOT com
Network Administrator ........ 831.657.4539 phone
Sequoia Insurance Company .... 831.657.4512 fax


-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU]
On Behalf Of Dave Mussulman
Sent: Friday, October 22, 2004 9:45 AM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] backup size

On Fri, Oct 22, 2004 at 11:36:18AM -0500, Tim Mooney wrote:
> In regard to: Re: [Networker] backup size, Michael Brooks said (at
> 9:26am...:
>
> >thanx maarten- but my question is more for an entire saveset per 
> >night as opposed to a single client. i am trying to get a feel for 
> >how much data we are backing up total (and how much of an increase we

> >have had recently). thanx
>
> mminfo -q 'client=your_client_name' -r 
> 'name,ssid,sscreate(20),sscomp(20),nfiles,totalsize'
>
> That will report all savesets, for any filesystem on the client.  You 
> can restrict the query to just recent savesets for a particular name 
> (filesystem on the client) using additional query parameters.

I'll add that Networker 7something added better formatting if you're
taking mminfo data and importing it into something else (script,
spreadsheet, etc.)  From the manpage:

     -x exportspec
          As an alternative to the default human-readable  output
          format,  exportspec provides for two styles of program-
          readable output formats.  The exportspec  `m'  displays
          XML  output,  while  exportspec `c<separator>' displays
          values separated by any single character.  For example,
          `mminfo -xc,' will produce comma-separated values.

Dave

--
Note: To sign off this list, send a "signoff networker" command via
email to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can also
view and post messages to the list. Questions regarding this list should
be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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