Solved

Sample script to stop dfsr service for a backup job

Posted on 2008-06-19
3
1,330 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn about cloud computing and its benefits for small business owners.
Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

856 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