?
Solved

Sample script to stop dfsr service for a backup job

Posted on 2008-06-19
3
Medium Priority
?
1,335 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Redwulf__53 earned 2000 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
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 the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Suggested Courses

770 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