Pre Job - The system cannot find the path specified.
Hello,
OS: Windows Server 2008 R2 Standard, Backup Exec: 2010 R3 (up to date)
Simple Backup Job, which one is saving just remote files.
Pre <d:\scripte\server_down.bat>
Post <d:\scripte\server_up.bat>
Both scripts running, if I start them manually.
All I found was: TECH90733 - "A backup configured to use a batch file in a Pre/Post command does not execute the batch file" but the service is still running as Local System Account
Anyone some idea?
Greetings!
Tobias
Got it!!!
After many hours testing some ways, I've got a solution.
Settings that doesn't work:
\\Server\scripts\sapdown.bat (run it on the remote server)
PsExec.exe \\server -u domain\SIDadm -p password "\\Server\scripts\sapdown.bat" (run it on the media server)
d:\scripts\sapdown.bat (run it on the media server)
After that I've tested some ways on a separate virtual machine and found out, that the following command works:
PsExec.exe \\server -u domain\SIDadm -p password "\\Server\scripts\sapdown.bat" (run it on the media server)
So I've tested this Command:
\\Server\scripts\sapdown.bat (run it on the remote server)
But it doesn't works either. So I've checked the last command:
d:\scripts\sapdown.bat (run it on the media server)
and this command works. But not on my productive backup system. I get the following error message:
Error (1314): A required privilege is not held by the client.
After that, I remebered that I've set the services to an other account then local admin. I changed all Backup Exec services back to the local admin account and now the pre and post command works fine:
d:\scripts\sapdown.bat (run it on the media server)
I think that the Backup Exec services had a problem after the initial installation of Backup Exec 2010 R3.
I really don't know why the command \\Server\scripts\sapdown.bat (run it on the remote server) isn't working, the job is running and completes all configured steps, but the pre and the post command were not called.
Thank you all for your help.
Best Regards,
Tobias