Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mminfo - query for equal doesn't work for dates

Status
Not open for further replies.

SNie

MIS
Mar 20, 2002
8
DE
I have some experience with NetWorker for Windows using the NetWorker Administrator GUI for some years.

Now I am interested in using the command line utilities to generate some reports.

NetWorker Server:
Windows NT 4.0 Server, SP6a
NetWorker for Windows 6.1.1

My first trial was with mminfo. As far as I have to notice queries on EQUAL "=" against attributes with a value range of "time" won't work ...


Sample within DOS Box on NetWorker Server:
volume - the volume name
olabel - the first time the volume was labeled

>mminfo -a -r "volume, olabel" -q "volume = TES097"
volume orig lbl
TES097 10/01/97


That's fine, but ...

>mminfo -a -r "volume, olabel" -q "olabel = 10/01/97"
mminfo: no matches found for the query


is not the response that I am awaiting.

WHERE IS THE BUG?
It seems that other comparators like <, >, <= are working, but not &quot;=&quot; ...

Thanks for any advice
SNie
 
I ´ve test it and have the same Problem.

Why u don´t use the mminfo command and a Pipe like this:

mminfo -a -r&quot;volume,olabel&quot; |Find /i &quot;10/01/97&quot; |find /i &quot;TES097&quot;
 
The following statement from our support partner describes the cause of the problem:

Attributes with a value range of &quot;time&quot; are displayed within reports only with their date.

But internally these attributes are stored with date AND time. So any comparison to EQUAL will fail, caused by missing time value.

Not very intuitive I would say ...

Possible work-arounds are ...
- to use the &quot;-t&quot; parameter (if existing for specific command).
- working with ranges (dates > as ..., but < as ...).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top