Another option would be to create an input list from your /nsr/index
directory. Something like this on Unix:
for i in `ls /nsr/index/*domain*`
do
mminfo -av -c $i -r <reporting goodness>
done
Because of the clunkiness of the mminfo output, I like to either export to
CSV or to send the output to perl. In both cases, it is really nice to have
NetWorker delimit the fields. For example, when I want to know how much
data was backed up by a set of clients over the last week:
for i in `ls /nsr/index/*client_string*`
do
mminfo -av -xc, -c $i -r 'client, name, totalsize > /tmp/client_size.csv
done
This command will give me a CSV with the clients, the save sets and the
totalsize in bytes. I can then use Excel functions to create reports based
on whatever information I need.
On Thu, May 6, 2010 at 4:08 PM, A Darren Dunham <ddunham AT taos DOT com> wrote:
> On Wed, May 05, 2010 at 12:04:36AM +0000, joey.admin AT gmail DOT com wrote:
> > But what if:
> >
> > If I want to make mminfo query for all clients with specific DNS suffix
> in
> > the client name?
> >
> > Does mminfo not accept wildcards? or is it perhaps possible to let mminfo
> > make a lookup in a textfile of clientnames?
>
> No. What I would do then is not restrict it to any client, but have
> it print the name of the client in the output.
>
> Then post-process the output in shell or perl or something to ignore
> the clients with the wrong names and sum up the ones with the correct
> names.
>
> mminfo + perl/awk/whatever is pretty powerful.
>
> --
> Darren
>
> To sign off this list, send email to listserv AT listserv.temple DOT edu and
> type
> "signoff networker" in the body of the email. Please write to
> networker-request AT listserv.temple DOT edu if you have any problems with
> this
> list. You can access the archives at
> http://listserv.temple.edu/archives/networker.html or
> via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
>
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|