Unsolved
This post is more than 5 years old
53 Posts
0
2121
January 12th, 2009 02:00
savepnpc backup failed
I wish to stop service on the client before copying and to start after copying.
1 retry attempted
32476:savepnpc: Unable to run preclntsave for group Default successfully, see savepnpc.log for possible causes.
default.res
type: savepnpc;
precmd: "C:\\Program Files\\Legato\\nsr\\res\\PDB-stop.cmd";
pstcmd: "C:\\Program Files\\Legato\\nsr\\res\\PDB-start.cmd";
timeout: "12:00pm";
savepnpc.log
1/12/2009 12:54:58 PM preclntsave: Starting up the precmds.
1/12/2009 12:54:58 PM preclntsave: No commands specified to be run.
PDB-stop.cmd
net stop wzcsvc
1 retry attempted
32476:savepnpc: Unable to run preclntsave for group Default successfully, see savepnpc.log for possible causes.
default.res
type: savepnpc;
precmd: "C:\\Program Files\\Legato\\nsr\\res\\PDB-stop.cmd";
pstcmd: "C:\\Program Files\\Legato\\nsr\\res\\PDB-start.cmd";
timeout: "12:00pm";
savepnpc.log
1/12/2009 12:54:58 PM preclntsave: Starting up the precmds.
1/12/2009 12:54:58 PM preclntsave: No commands specified to be run.
PDB-stop.cmd
net stop wzcsvc
No Events found!


Tomi
36 Posts
1
January 14th, 2009 03:00
precmd: "cmd /c E:\\backup\\program_pre.cmd";
pstcmd: "cmd /c E:\\backup\\program_pst.cmd";
which worked for me.
guenterH1
117 Posts
1
January 14th, 2009 04:00
Two ways should work for you:
a)
precmd: cmd /c "C:\\Program Files\\Legato\\nsr\\res\\PDB-stop.cmd";
pstcmd: cmd /c "C:\\Program Files\\Legato\\nsr\\res\\PDB-start.cmd";
b)
precmd: "\"C:\\\\Program Files\\\\Legato\\\\nsr\\\\res\\\\PDB-stop.cmd\"";
pstcmd: "\"C:\\\\Program Files\\\\Legato\\\\nsr\\\\res\\\\PDB-start.cmd\"";
(unless there is a typo in the numerous backslashes)
HTH