Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1338
  • Last Modified:

Sample script to stop dfsr service for a backup job

I'm looking for a sample script to run at the beginning and end of a BE12 backup job that backs up folders in a DFS.  I've tried using Symantec's suggested method by selecting the folders under shadow copy componenets and it impacts throughput on other jobs too much.  No one can tell me why, but it reduces the throughput by about one-third.  Anyway, if I could just stop the dfsr service on the server and start it again when the job completed, it would work.  I'm currently doing this with a scheduled task, but I need to run it on the job since the data continues to grow and the time window will expand over time.  

Backup exec 12 on server 2003 ent R2.  
0
moransa
Asked:
moransa
  • 2
1 Solution
 
Redwulf__53Commented:
In the settings of the Backup Job in Veritas you can specify commands to run before and after the job.
Before the job starts, give the command:
sc \\myserver stop dfsr
After the job finishes:
sc \\myserver start dfsr
0
 
Redwulf__53Commented:
Sorry, not Veritas but "Symantec Backup Exec"; old habits die hard....
0
 
moransaAuthor Commented:
That simple, huh?  Tested on another server, worked fine.  No reason to doubt it will work on my DFS server.  Thanks for the early reply, great job!!  
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now