Networker

Re: [Networker] Savepnpc command

2008-01-24 12:01:20
Subject: Re: [Networker] Savepnpc command
From: A Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 24 Jan 2008 16:53:35 +0000
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

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