Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

service stop/start order

Status
Not open for further replies.

paulovey

Technical User
Joined
Jul 13, 2000
Messages
458
Location
GB
Hi guys,

Just a quick one, I need to get the following batch files confirmed that the services are being stopped and started in the correct order.

TIA.

Paul

REM @ECHO OFF

Echo Stopping Exchange Services..

NET STOP IMAP4Svc >NUL
NET STOP POP3Svc >NUL
NET STOP MSExchangeIS >NUL
NET STOP MSExchangeMTA >NUL
NET STOP RESvc >NUL
NET STOP MSExchangeSA >NUL

-----------------------------------------

REM @ECHO OFF

Echo.
Echo. Starting MS Exchange 2000 Services...
Echo.

NET START MSExchangeSA >NUL
NET START MSExchangeIS >NUL
NET START POP3Svc >NUL
NET START IMAP4Svc >NUL
NET START MSExchangeMTA >NUL
NET START RESvc >NUL


 
If this is for a backup solution use NTBackup and do it right. Dan
Microsoft Exchange Support @ Microsoft
 
Yes its for a backup solution for a system we have inherited from another company.

They are using Arcserve 2000, to backup. We are looking at
getting them to use the exchange agent so we can backup
individual mailboxes, but as a interim measure we just need
to use the batch file workaround..
 
Why not do as Xybertron suggested in another thread (can't find it now) do an online backup of exchange to a file with NTBackup before the regular backup. This will flush all the logs and be useful in a restore.

It seems like a better solution to me. [smurf]
01101000011000010110010001110011
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top