Networker

Re: [Networker] Export Clietns

2007-10-19 05:52:49
Subject: Re: [Networker] Export Clietns
From: "Macina, Conrad" <Conrad.Macina AT PFIZER DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 19 Oct 2007 05:49:33 -0400
You can also do it with nsradmin:

echo "print type:nsr client" | nsradmin -i -


A few variations (these work with Unix):

Info for just one client:
        echo "print type:nsr client;name:<client name>" | nsradmin -i -

List all client names:
        echo "show name \n print type:nsr client" | nsradmin -i -

Detailed information:
        echo "option hidden \n print type:nsr client" | nsradmin -i -

Selected information:
        echo "show name;comment;schedule;browse policy;retention
policy;directive;group;save set \n print type:nsr client" | nsradmin -i
-

Windows doesn't recognize "\n" as a new line sequence. In Windows you
have to create a file for the multi-line commands and then feed the file
into nsradmin:

echo show name > nsradmin.txt
echo print type:nsr client >> nsradmin.txt
nsradmin -i nsradmin.txt

Note that unless you've changed the default settings you don't need root
privileges or admin rights to do this; any user can "look don't touch".
Also, you don't have to be logged into the server. You can do this from
any system with NetWorker on it (including a client) by adding the -s
option:

echo "print type:nsr client" | nsradmin -s <server name> -i -

HTH,

Conrad Macina
Pfizer, Inc.

-----Original Message-----
From: Stan Horwitz [mailto:stan AT TEMPLE DOT EDU] 
Sent: Thursday, October 18, 2007 12:17 PM
Subject: Re: Export Clietns

On Oct 18, 2007, at 10:04 AM, Elvis Ademba wrote:

> For reporting purposes i would like to export the list of clients  
> being
> backup up and the folders too. (the clients as they are in networker)
> As it is inthe Networker server.

You can use nsrinfo for that purpose, but beware of what you ask for;  
your list will likely be millions of lines long.

To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>