new2prog2

updated

3 years ago

N

new2prog2

79 Posts

0

6626

July 24th, 2018 08:00

How to get the list of all networker clients with scheduled backups enabled ?

Hi,

Can someone please let me know the nsradmin command syntax to find the list of all active networker clients ( i.e with "scheduled backups" enabled ) using nsradmin

  • bingo.1

    1 Rookie

    •

    2430 Posts

    5596

    1

    Posted July 24th, 2018 09:00

    . type: nsr client; scheduled backup: enabled

    show name

    p

  • new2prog2

    79 Posts

    5594

    0

    Posted July 24th, 2018 09:00

    Thank you very much.

  • new2prog2

    79 Posts

    4630

    0

    Posted October 14th, 2019 07:00

    Is there any way I can do this entire syntax in single line nsradmin command ?

  • bingo.1

    1 Rookie

    •

    2430 Posts

    4627

    0

    Posted October 14th, 2019 08:00

    It will be difficult if you need to deal with multiple statements/lines.

    Best practice is

      -  add all commands to a textfile

      -  use the files as inputfile like    "nsradmin [-s servername] -i filename [> outfile]"

     

  • crazyrov

    6 Operator

    •

    1319 Posts

    4612

    0

    Posted October 15th, 2019 07:00

    If you are on unix you can try using printf as follows

    printf '. type: nsr client; scheduled backup: enabled\n show name \n print\n' | nsradmin -i-

  • new2prog2

    79 Posts

    0

    0

    Posted November 20th, 2023 19:08

    @crazyrov​  to further refine this , how do I query a list of clients and see which of them are configured for backups and which ones are not ?

    My req is I have a bunch of clients that I need to query and see which of them are configured for backups and what savesets are configured for backups.

    So I am looking for a scrip to spit the info of what we have in backup config and what are missing. 

    thanks in advance