Re: [Networker] mminfo not equal query
2004-04-06 17:12:10
Faidherbe, Thierry wrote:
Without any reporting param, mminfo provides lastest 24 hours
backups, including volume, client, date, size, level and name.
So why not just reformulate mminfo query like :
mminfo -r pool,volume,client,sscreate,totalsize,level,name
and then grep-exclude pool you do not need ?
mminfo -r pool,volume,client,sscreate,totalsize,\
level,name |grep -v "^<past poolname here>"
Well I could do it that way but there are complications. It's in a perl
script for a start. Piping the command into a grep is a bit messy,
although I could let perl do the filtering ( next if /Offsite/; ). Also,
some of my pool names have spaces in them. Yes I know that's poor style
but the spaces were there before I arrived. On top of that the query
will contain another field with spaces in - the save set name. So my
current code that does something like:
($nsavetime,$level,$totalsize,@name) = split;
will have to become a bit more complicated if the pool is in there too.
--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|