I would not use a mix and match of CMD commands within an mminfo command. mminfo has parameters for this purpose as well. However, to find the right ones is a bit tricky. This should work:
Hi @bingo.1 thanks to check my command, and was my mistake not to do a double check on that. But i tried again.
Test 1.
mminfo -xc; -q "client=test,family=disk,!recoverable,!ssrecycle,level=full,savetime<='11/30/2020 23:59:59',savetime>'11/01/2020 00:00:00'" -r name, group,level,sumflags > D:\RPT\test\test_log_disk_10-12-2020_COMPARE.txt
Test 2.(in this one a put all the parameters between single comma)
mminfo -avot -xc; -q "client='paihv03.enami.cl',family='disk',!recoverable,!ssrecycle,level='full',savetime<='11/30/2020 23:59:59',savetime>'11/01/2020 00:00:00'" -r name, group,level,sumflags > D:\RPT\test\test_log_disk_10-12-2020_COMPARE.txt
But for both the output is: unknown report constraint: usage: mminfo [-akvV] [-o order] [-s server] [-x exportspec] [report] [query] [volname...] : [ -m | -p | -B | -S | -X | -r reportspec ] : [-c client] [-N name] [-t time] [-q queryspec] Thanks in advance.
bingo.1
2.4K Posts
0
December 14th, 2020 02:00
Networker only needs apostrophes if a space character is involved.
Try to bild up the command from a verysimple 'version' and make it more complicated. This will help ...
bingo.1
2.4K Posts
0
November 23rd, 2020 15:00
I would not use a mix and match of CMD commands within an mminfo command. mminfo has parameters for this purpose as well. However, to find the right ones is a bit tricky. This should work:
mminfo -q "client=server1.fs,family=tape,!recoverable,!ssrecycle,level=full,savetime<=10/31/2020 23:59:59,savetime>10/01/2020 00:00:00" -r "name,group,level,sumflags" -xc; > file
You will find all necessary details in the Command Line Reference for mminfo.
Dsantibanez
1 Rookie
•
82 Posts
0
December 3rd, 2020 10:00
Hi Bingo i still having some problems: Invalid value for 'savetime'
mminfo -xc; -q "client=srvr.fs,family=disk,!recoverable,!ssrecycle,level=full,savetime<='10/31/2020 23:59:59',savetime>'10/01/2020 00:00:00' -r name, group,level,sumflags > D:\RPT\srvfs\srvfs_log_disk_27-11-2020_COMPARE.txt
I was looking the comand guide page 135 but i am kind of confuse (langueaje barrier)
the word recoverable the first definition for me is "you can recover that saveset" so the character "!" is not recoverable (maybe noob question)
Thanks in advance.
bingo.1
2.4K Posts
0
December 3rd, 2020 14:00
Be very careful using the 'separators' - you obviously forgot to 'close' the query parameters. The command should read as follows:
mminfo -xc; -q "client=srvr.fs,family=disk,!recoverable,!ssrecycle,level=full,savetime<='10/31/2020 23:59:59',savetime>'10/01/2020 00:00:00'" -r name, group,level,sumflags > D:\RPT\srvfs\srvfs_log_disk_27-11-2020_COMPARE.txt
The reason for '!recoverable' simply is that there is no direct attribute named 'browsable'. So you must find another way to express that term.
Dsantibanez
1 Rookie
•
82 Posts
0
December 10th, 2020 06:00
Hi @bingo.1 thanks to check my command, and was my mistake not to do a double check on that. But i tried again.
But for both the output is: unknown report constraint: usage: mminfo [-akvV] [-o order] [-s server] [-x exportspec] [report] [query] [volname...] : [ -m | -p | -B | -S | -X | -r reportspec ] : [-c client] [-N name] [-t time] [-q queryspec] Thanks in advance.