Forum Discussion

mghomer's avatar
mghomer
Level 6
10 years ago

BE2010 and scripts

Hi all,

Im trying to backup a windows server machine with some commands for job and after the job.

bevor job starts:

c:\scripts\servstop.bat

and after job is done: 

c:\scripts\servstart.bat

 

But unfortunately i allways get an error that the couldn't start the command, the system couldn't find the file.

Can anyone help me to solve it please?

Thanks!

 

 

  • 1) Did you specify in your job to execute the pre- and post-commands on the remote server and not the media server?

    2) If so, then the two scripts must be located on the remote server.

    3) You should then test executing the scripts on the remote server from the media server while logged on as the BESA.

  • Do ensure the BE account has full permissions to the path where the .bat file is located. And if running an AV, set an exclude as well.

    Where are these commands being run ? On the media server or the remote server ?

    Does the .bat file run successfully if you execute it outside of BE ?

  • It would be good if you post the command(from bat file) that you are trying to run !!

  • I think you misunderstood me, I don't want to start BE services.

    I have an aplication running on my windows client. This application i have to stop bevor the backup job start to backup this computer.

    See the screenshot

  • 1) Did you specify in your job to execute the pre- and post-commands on the remote server and not the media server?

    2) If so, then the two scripts must be located on the remote server.

    3) You should then test executing the scripts on the remote server from the media server while logged on as the BESA.

  • the scripts are located on remote server. So as I anderstand i have to use an unc path to the scritps in this case?