Networker

Re: [Networker] Savepnpc command

2008-01-24 12:17:39
Subject: Re: [Networker] Savepnpc command
From: Michael S Baker <Baker_Michael AT EMC DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 24 Jan 2008 12:12:20 -0500
Additionally it's a good idea to minimize the pre-cmd/post-cmd lines
just because Networker is very particular about it's quoting and this
makes paths in particular difficult to get correctly read. So, try using
a 8.3 named script and it will make your life much easier.

-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of A Darren Dunham
Sent: Thursday, January 24, 2008 11:54 AM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] Savepnpc command

On Thu, Jan 24, 2008 at 03:19:43PM +0100, Joris Soeurt wrote:
> I'm trying to use the savepnpc command to backup a export of a Windows
IAS (Radius) database, but I cannot get it to work.
> 
> I changed the backup command to savepnpc and edited the file:
C:\Program Files\Legato\nsr\res\Backup.res (I know, 'Backup' as name for
a backup group isn't the best name, but it just a test environment) to
the following:
> 
> type: savepnpc;
> precmd: "cmd.exe /C netsh.exe aaaa show config >
C:\Backup_Export\radius_config.txt";

I'm not saying this is or isn't your current problem, but it usually
works best to make the precmd as simple as possible.

Rather than using redirection and lots of other information in the cmd,
I would try to make the precmd a single executable, then put all the
logic/redirection/arguments within it.  That makes it easier to test
that all the components are working.

-- 
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

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>