ArmandoGM
2 Bronze

NetWorker 18.x mminfo undocumented report/query specs.

Hi all,

Not sure if someone has come across this, I searched and couldn't find anything.

In NW 18.1.x, 'policy', 'workflow' and 'action' used as report or query specs is not documented, however they can be used.The problem is if any of those resources has spaces in their names, they will come out truncated, which will make it difficult if for example there's an action called 'daily backup' and another called 'daily clone', so after coming across this, I normally create them without spaces or using underscores.

Hope this is useful to other NW admins out there.

Have a great day.

Title and message was edited by: ArmandoGM. Finding applies only to 18.1.x

Labels (1)
0 Kudos
5 Replies
bingo.1
4 Ruthenium

Re: NetWorker 9.x/18.x mminfo undocumented report/query specs.

Thanks for the input. This is pretty valuable.

Just let me append that you statement seems to be a bit fuzzy.

I verified it for a Windows server and could only use it here for NW 18.1. Not for older versions.

0 Kudos
ble1
7 Thorium

Re: NetWorker 9.x/18.x mminfo undocumented report/query specs.

With 9.2.x I get "unknown report constraint: <action|policy|workflow>" so I assume it has to be 18.x

0 Kudos
ArmandoGM
2 Bronze

Re: NetWorker 9.x/18.x mminfo undocumented report/query specs.

Correct, 9.2.1.x shows "unknown report constraint", so it's just in 18.1.x:

9.2.1.4:

C:\Program Files\EMC NetWorker\nsr\applogs>mminfo -r policy,workflow,action -q ssid=3500213852

unknown report constraint: policy

usage: mminfo [-akvV] [-o order] [-s server] [-x exportspec] [report] [query] [volname...]

<report>: [ -m | -p | -B | -S | -X | -r reportspec ]

<query>:  [-c client] [-N name] [-t time] [-q queryspec]

18.1.x:

C:\Users\administrator.TEKNILAB2>mminfo -avot -t "2 days ago" -N bootstrap

volume        type   client           date     time         size ssid      fl   lvl name

SERVERPROTECTION.001 Data Domain nwnetworker.teknilab2.local 2018-09-18 10:23:01 AM 295 KB 3433105989 cr full bootstrap

C:\Users\administrator.TEKNILAB2>mminfo -r policy,workflow,action -q ssid=3433105989

policy     workflow    action

Server      Server      Server

0 Kudos
dgold-2014
2 Bronze

Re: NetWorker 18.x mminfo undocumented report/query specs.

I found the variables documented in the 18.2 cli reference under nsrpolicy. Search for POLICY VARIABLES.

Also under nsr_notification section.

 

--Dave

0 Kudos
bingo.1
4 Ruthenium

Re: NetWorker 18.x mminfo undocumented report/query specs.

You can even use these parameters/variables for queries

Just be a bit careful - it seems as if not all combinations are supported. For instance

mminfo -q "workflow=NOCL_MO_I_0310_1" //

  -r "client,name,level,savetime,policy,workflow,action" -ot

  ... will work while the query combination with along with 'savetime' will show no output:

mminfo -q "workflow=NOCL_MO_I_0310_1,savetime>=05/05/2019" //

  -r "client,name,level,savetime,policy,workflow,action" -ot
6095:mminfo: no matches found for the query

This is NW 18.2