
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