Announcement Banner
UNSOLVED

Godzy

updated

11 years ago

G

Godzy

37 Posts

0

1675

February 19th, 2016 03:00

pstcmd doesn't work

Hi, I need to make a backup of  nsr/applogs and delete log files.

I have a res file:

type: savepnpc;

precmd:"cmd.exe /C C:\\Program Files\\EMC NetWorker\\nsr\\res\\precmd.cmd";

pstcmd:"cmd.exe /C C:\\Program Files\\EMC NetWorker\\nsr\\res\\postcmd.cmd";

postcmd.cmd:

del /Q "C:\Program Files\EMC NetWorker\nsr\applogs\"

As result I still have files in applogs.

From savepnpc.log:

19.02.2016 14:10:07 preclntsave: Starting up the precmds.

19.02.2016 14:10:08 preclntsave: All command(s) ran successfully.

19.02.2016 14:11:08 pstclntsave: Client is not active in the worklist.

19.02.2016 14:11:08 pstclntsave: All savesets on the worklist are done.

19.02.2016 14:11:08 pstclntsave: Starting up the pstcmds.

19.02.2016 14:11:08 pstclntsave: No commands specified to be run.

19.02.2016 14:11:08 pstclntsave: Exited.

19.02.2016 14:11:13 pstclntsave: Pstcmds completed. The group temp file and group precmd temp file deleted.

postcmd.cmd works from cmd without any errors.

Thank you very much for your time.