Advertisement

05.01.2008 at 09:03PM PDT, ID: 23370704
[x]
Attachment Details

Batch Script to stop Exchange 2007 DB for VSS Backup

Asked by explorerjimmy1979 in Backup Exec, Exchange Email Server

Hi all,

I am trailing Acronis True Image 9.5 / Symantec Backup Exec System Recovery 8 Server Edition to backup and restore AD with Exchange Server 2007 all install in one box ....

I failed on first time restore the Exchange 2007 DB on Acronis, and then I try Synamtec, and find that their support DB, finded a document said that using VSS with Exchange, much let the DB be "quiesced"

Here are Symantec's sample ... but this look like not work with Exchange Server 2007 since it service name look like different ...

Sample Batch Command Files
The following are samples of batch command files that are used to stop and start a Microsoft Exchange database.

To create a batch file to temporarily stop a Microsoft Exchange database
Open a text editor, such as Notepad.
Type the following lines:

net stop msexchangesa /y /y
net stop "Microsoft Exchange Routing Engine"
net stop "Microsoft Exchange IMAP4"
net stop "Microsoft Exchange Management"
net stop "Microsoft Exchange POP3"
Save the file as StopExch.bat.
Save the file to the following location:

C:\Program Files\Symantec\Backup Exec System Recovery Server Edition\Agent\CommandFiles
To create a batch file to start a Microsoft Exchange database
Open a text editor, such as Notepad.
Type the following lines:

net start "Microsoft Exchange System Attendant"
net start "Microsoft Exchange Event"
net start "Microsoft Exchange IMAP4"
net start "Microsoft Exchange MTA Stacks"
net start "Microsoft Exchange POP3"
net start "Microsoft Exchange Routing Engine"
net start "Microsoft Exchange Management"
Save the file as StartExch.bat.
Save the file to the following location:

C:\Program Files\Symantec\Backup Exec System Recovery Server Edition\Agent\CommandFiles


----------------------------------------------   Symantec Sample Script End  -------------------------------------

And then I open W2K3 R2's service list by using services.msc , finded many services name about the Exchange Server2007, I list them here ....

1.      Microsoft Exchange Active Directory Topology Service
2.      Microsoft Exchange Anti-spam Update
3.      Microsoft Exchange EdgeSync
4.      Microsoft Exchange File Distribution
5.      Microsoft Exchange IMAP4
6.      Microsoft Exchange Information Store
7.      Microsoft Exchange Mail Submission
8.      Microsoft Exchange Mailbox Assistants
9.      Microsoft Exchange Monitoring
10.      Microsoft Exchange POP3
11.      Microsoft Exchange Replication Service
12.      Microsoft Exchange Search Indexer
13.      Microsoft Exchange Service Host
14.      Microsoft Exchange System  Attendant
15.      Microsoft Exchange Transport   ß
16.      Microsoft Exchange Transport Log Search
17.      Microsoft Search (Exchange)


Then how do I base on above services stop some for the VSS and then how to start them back?

Thank you.
Start Free Trial
[+][-]05.01.2008 at 09:55PM PDT, ID: 21484613

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Backup Exec, Exchange Email Server
Sign Up Now!
Solution Provided By: pkutter
Participating Experts: 1
Solution Grade: B
 
 
[+][-]05.06.2008 at 08:13AM PDT, ID: 21507995

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628