Solved

Sample script to stop dfsr service for a backup job

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WSUS Feature Updates for WIndows 10 6 91
Can’t delete a file 14 141
Server 2008 Software Raid 1, Upgrading Drives 8 67
DHCP server 6 51
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
VM backups can be lost due to a number of reasons: accidental backup deletion, backup file corruption, disk failure, lost or stolen hardware, malicious attack, or due to some other undesired and unpredicted event. Thus, having more than one copy of …
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

895 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

16 Experts available now in Live!

Get 1:1 Help Now