SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
How to get the total size of data that were backed up
Author Message
Post How to get the total size of data that were backed up 
Hi,

I need to get some idea of how much data we are backing up daily for a certain save group. What is
the command syntax to get this?

Thanks!

Zaigui

=====
Regards,
Zaigui Wang
(408)544-8612
(408)425-0236




__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo

Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu

Post How to get the total size of data that were backed up 
Try: mminfo -q "group=GroupName" -t "last week" -X
Itzik

-----Original Message-----
From: Legato NetWorker discussion
[mailto:NETWORKER < at > LISTSERV.TEMPLE.EDU] On Behalf Of Zaigui Wang
Sent: Wednesday, January 12, 2005 23:37
To: NETWORKER < at > LISTSERV.TEMPLE.EDU
Subject: [Networker] How to get the total size of data that
were backed up

Hi,

I need to get some idea of how much data we are backing up
daily for a certain save group. What is the command syntax to
get this?

Thanks!

Zaigui

=====
Regards,
Zaigui Wang
(408)544-8612
(408)425-0236




__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo

--
Note: To sign off this list, send a "signoff networker"
command via email to listserv < at > listserv.temple.edu or visit
the list's Web site at
http://listserv.temple.edu/archives/networker.html where you
regarding this list should be sent to stan < at > temple.edu


**************************************************************************************************
The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or the
sender immediately and do not disclose the contents to any one or make copies.

MBI - System Team
**************************************************************************************************

Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu

Post How to get the total size of data that were backed up 
How about something like:

mminfo -s server -q 'group=group_name,savetime>=date' -r 'totalsize' |
addit

where addit is a simple shell script like:

#!/bin/sh

awk 'BEGIN { sum = 0 }
{ sum += $1 }
END { print sum }'

Would that work?


Zaigui Wang wrote:

Hi,

I need to get some idea of how much data we are backing up daily for a certain save group. What is
the command syntax to get this?

Thanks!

Zaigui

=====
Regards,
Zaigui Wang
(408)544-8612
(408)425-0236


__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu

Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu

Post How to get the total size of data that were backed up 
Hmm ... Okay, what happens if you run it like: mminfo -s server -q
'savetime>=today'

OR

mminfo -s server -q 'savetime>=mm/dd/yy' and just make the date value
today's date and not yesterday. That should work.

I don't think it makes a difference if you specify '>' versus '>=' in
most cases because NetWorker starts it at 0:00 hours, I think. So,
something like 'savetime>01/12/05' is looking at all savesets that began
at or after 0:00 hours on 01/12/05, but 'savetime>01/12/05' is looking
at all savesets after 0:00 hours on 01/12/05. I've never seen any
differences between the output. Maybe someone else can chime in on this?

George

Zaigui Wang wrote:

Yes. I still have problem getting ONLY today's saves though. Using savetime>yesterday somehow
catch both yesterday and today's backups.

--- George Sinclair <George.Sinclair < at > noaa.gov> wrote:

How about something like:

mminfo -s server -q 'group=group_name,savetime>=date' -r 'totalsize' |
addit

where addit is a simple shell script like:

#!/bin/sh

awk 'BEGIN { sum = 0 }
{ sum += $1 }
END { print sum }'

Would that work?


Zaigui Wang wrote:

Hi,

I need to get some idea of how much data we are backing up daily for a certain save group.
What is
the command syntax to get this?

Thanks!

Zaigui

=====
Regards,
Zaigui Wang
(408)544-8612
(408)425-0236


__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu


=====
Regards,
Zaigui Wang
(408)544-8612
(408)425-0236


__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250

Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB