Networker

Re: [Networker] backup size

2004-10-22 12:33:03
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 11:31:42 -0500
Stone simple script I use for totals tracking for stats, reports in bytes:

#!/usr/bin/ksh
for i in `cat ../servers.txt`
do
echo $i
mminfo -s $i -ot -r 'totalsize' -q 'savetime >= 10/17/04 12:00, savetime <= 
10/18/04 11:59' | awk '{sum=sum+$0};END{print sum}'
done


servers.txt contains a list of all my master servers.  You can also expand the 
savetime to any arbitrary length (i.e. for monthly, I do ">= 09/30/04 12:00" 
and "<= 10/31/04 11:59").

If you are only doing one server, you can just use the mminfo directly with 
SERVER in place of $i.
--Ted


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


hello all- is there a quick and dirty way to tell the size of a
particular night's backup?
nw server: w2k sp4
nw v7.1.2
nw clients: w2k sp4, w2k3, linux, unix (hp-ux)
nw client v 6.1.3-7.1-2

thanx

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


--
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>