cancel
Showing results for 
Search instead for 
Did you mean: 

BE2010 and scripts

mghomer
Level 6

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 ACCEPTED SOLUTION

Accepted Solutions

pkh
Moderator
Moderator
   VIP    Certified

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.

View solution in original post

7 REPLIES 7

CraigV
Level 6
Partner    VIP    Accredited

...are you using the command in those scripts as per the TN below?

http://www.symantec.com/business/support/index?page=content&id=TECH10979

Thanks!

VJware
Level 6
Employee Accredited Certified

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 ?

ArulPrasad
Level 6
Employee

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

mghomer
Level 6

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

pkh
Moderator
Moderator
   VIP    Certified

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.

View solution in original post

mghomer
Level 6

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

 

pkh
Moderator
Moderator
   VIP    Certified
No. The paths that you use are fine