Networker

Re: [Networker] Savepnpc command

2008-05-19 10:22:23
Subject: Re: [Networker] Savepnpc command
From: Fazil Saiyed <Fazil.Saiyed AT ANIXTER DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 19 May 2008 09:18:24 -0500
Hello,
Have you verified file\folder permission for the account that runs 
Networker, on the folder where the dB resides ?



Joris Soeurt <joris AT PEPPERNUTS DOT NL> 
Sent by: EMC NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU>
05/18/2008 03:47 AM
Please respond to
EMC NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU>; Please respond 
to
Joris Soeurt <joris AT PEPPERNUTS DOT NL>


To
NETWORKER AT LISTSERV.TEMPLE DOT EDU
cc

Subject
Re: [Networker] Savepnpc command






>> 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";
>> pstcmd: "";
>> timeout: "12:00:00";
>> abort precmd with group: No;
>> 
>> The saveset of the client resource includes the directory: 
C:\Backup_Export
>> 
>> When I execute the command manually (start,run) it works perfectly, and
>> dumps the radius config to: C:\Backup_Export\radius_config.txt But when 
I
>> start the backup, the config output file doesn't appear. Does anyone 
know
>> what I'm doing wrong? If possible I would prefer this over using system 
save
>> sets. 

>You need double \\ instead of the single ones to make it work. This is 
due to
>the interpretation of strings in the C-language.
>Also think about the fact that the PATH will be the default PATH for the
>SYSTEM user at execution.

>Best
>Dag

Thx for the help. I got it working using the following:

backup.res:

type: savepnpc;
precmd: "C:\\progra~1\\Legato\\nsr\\radius.bat";
pstcmd: "";
timeout: "12:00:00";
abort precmd with group: No;

radius.bat:

c:\windows\system32\cmd.exe /C c:\windows\system32\netsh.exe aaaa show
config > C:\Backup_Export\radius_config.txt

regards,

Joris Soeurt

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>