Solved

Sample script to stop dfsr service for a backup job

Posted on 2008-06-19
3
1,327 Views
Last Modified: 2013-12-01
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
Comment
Question by:moransa
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Redwulf__53 earned 500 total points
ID: 21829797
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
 
LVL 16

Expert Comment

by:Redwulf__53
ID: 21829804
Sorry, not Veritas but "Symantec Backup Exec"; old habits die hard....
0
 

Author Closing Comment

by:moransa
ID: 31469047
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Learn about cloud computing and its benefits for small business owners.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now