The pre-execution batch file that I have given the client agent execute, does not run before backing up the client. IT backs up everything ok, but the pre command does not execute. Any ideas ?
Few things to try.
Run the same command from a command line to see it work.
Run some other command as a Pre Command like mkdir to see it work.
Specify the full path.
Permisions to the ARCserve share.
It is brightstor 9.0, yes the batch file runs fine by itself. The command is entered in the pre-execution part of the configuration setup. I have not set any verification option.
@echo off
d:
cd backup
psexec \\computername g:\backup\pre.bat
xcopy /Y \\computername\g$\backup\datafile
When configuration window is opened the bottom part of the window has the pre-execution and post-execution field to be filled woth the command path, that 's where it goes.
Does the agent log report running the command?
Try adding a delay.
Also try copying the batch file into the agent directory.
Did mkdir work as a Pre command?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.