Forum Discussion

Baski's avatar
Baski
Level 5
12 years ago

Regular expression in NBU 7.5

Hi Team,

I want filter the NBU Jave GUI every day for some report.

Job Policy        regular expression    oradb.*|sqldb.*|exdb.*   ................it is working for me

and I need filter for schedule which starts from Application-weekly , Application-daily,Application-hourly ...etc

 

I am doing the above things as below

 

Job schedule    not equal to        application-hourly

Job chedule    not equal to        Application-Weekly

Job schedule    not equal to         client-hourly

....

.

.etc

 

How to get all information in single regular expression as Job Policy

 

Thanks for your help.

.

  • OK, now I get what you're trying to do.

    One first note, I believe the "regular expression" in Netbackup GUI is just a limited set of string filters, it is not as powerful as the native OS regular expression used for shell script.

    I said this becaues I have tried this before:

    1)  It will work if we just want to filter jobs (by policy/schedule/client etc.) by a string that matches anything starting with "abc*", "abc?", "^abc", "abc$", or like your first filter mutliple words that ends with same string.

    2)  It won't work if I am trying to do things like "inverter", which is of the syntax [^. For example, if I want to filter out job policy that is not starting with a or b, I will put in regular expression as [^ab] or even [^ab]* , but it didn't work.

    Maybe you test and let me know.

    A better idea, as mentioned before, is to filter out from bpdbjobs.