Start a Conversation

Unsolved

14 Posts

3341

September 18th, 2018 06:00

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

2.4K Posts

September 19th, 2018 03:00

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.

14.3K Posts

September 19th, 2018 06:00

With 9.2.x I get "unknown report constraint: " so I assume it has to be 18.x

14 Posts

September 19th, 2018 07:00

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...]

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

:  [-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

21 Posts

May 4th, 2019 18:00

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

Also under nsr_notification section.

 

--Dave

2.4K Posts

May 6th, 2019 06:00

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

58 Posts

April 12th, 2022 02:00

FYI, with 19.4 this works perfectly:

 

mminfo -q "workflow=workflow name including spaces" -r "client,name,level,savetime,policy,workflow,action" -ot

No Events found!

Top