Unsolved
This post is more than 5 years old
38 Posts
0
3254
December 6th, 2011 05:00
Exporting important config information: Directives, Groups etc.
Hello,
Does some Networker reporting command have the ability to export
backup groups
servers
clients
directives
directive info (_this directory, _this filter)
all at once?
I am trying to save myself from copying this information out of networker manually into an excel sheet. I need to analyze what we're doing on two entire servers.
Thanks,
Chris
No Events found!


coganb
736 Posts
1
December 7th, 2011 01:00
Hi,
You can use nsradmin to extract the data you need from NetWorker's resources, for example:
List of all clients & their versions:
printf "show client OS type; name; NetWorker version \n print type : NSR client\n" | nsradmin -i - | tr -s "\n"
List of groups:
printf "show name\n print type : NSR Group\n" | nsradmin -i - | tr -s "\n"
List of directives (names only):
printf "show name\n print type : NSR directive\n" | nsradmin -i - | tr -s "\n"
List of directives with all of their properties:
printf "show \n print type : NSR directive\n" | nsradmin -i - | tr -s "\n"
List of different resource categories (types) that you can extract:
printf "types\n" | nsradmin -i -
-Bobby
cvs500
38 Posts
0
December 7th, 2011 08:00
Hello, printf isn't available on command prompt. Where should I enter these commands?
coganb
736 Posts
0
December 7th, 2011 09:00
Hi,
Create a file named input_nsradmin.txt with :
option hidden
p
q
< blank line >
Then run nsradmin -i input_nsradmin.txt > "all_resources".cfg
That will give you all of the resources. For just the list of clients, for example, your input file would look like this:
option hidden
p type : NSR client
q
-Bobby