Forum Discussion

Ifti_Bashir's avatar
14 years ago

Pre-Processing - stopping services

I stop a service by using the following in a pre-processing command: net stop "service" How can I stop 2 services this way?? Or what do I need to do to stop 2 different services before the backup r...
  • CraigV's avatar
    14 years ago

    Hi,

     

    Put it into a batch file and run the batch file as a pre-command in your job.

    Make sure that you select the option (which is defaulted) to: Run job only if pre-command is successful.

    If those services need to be restarted after the backup, enter that batch file into the next block below, and keep the 2 options below the command above selected.

     

    Thanks!