6GB you have 10 to go or just upgrade. You might want to consider adding
another Exchange server and move the users. You lose SIS but at least
it's a clean DB. Unless you deleted a ton of users and or email, defrag
is just a waste of time. Are you seeing errors that indicate a problem.

-----Original Message-----
From: Fyodorov, Andrey FTL [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 01, 2004 10:25 AM
To: Exchange Discussions
Subject: RE: Exchange 5.5 - Defrag and Integ check (automating)

You might want to issue the "net stop" commands three times each.

Is there a problem with your Exchange? Why do you need to do this?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shawn
Connelly
Sent: Tuesday, June 01, 2004 10:49 AM
To: Exchange Discussions
Subject: Exchange 5.5 - Defrag and Integ check (automating)


Hello all,

I'm about to run a defrag and integrity on our Exchange 5.5 stores.
It's
been longer than I'm comfortable with (over 8 months) and I now must
store
the temp files on another server due to space limitations on the
Exchange
server.  Considering this and the fact that the priv stores has grown to
around 6gb, I really need to automate this process.

I've created the following batch file and I'd appreciate it if you folks
can
pick it apart, if necessary.  Thus far, it is untested.

Question: Shall I run an integrity check before the defrag or is the
soft
recovery (part of the defrag process) enough? 

Finally, I'd like to record what occurs during the defrag and integrity
checks; how might I accomplish this? I don't want to pipe the screen
output
to a file because the screen will be left blank.

rem *** Stop appropriate services in order...
net stop MSExchangeIMC
net stop MSExchangeMSMI
net stop MSExchangeMTA
net stop MSExchangeIS
net stop MSExchangeDS
net stop MSExchangeSA
rem
rem *** Backup to max server
time /t >h:\new\start.txt
date /t >>h:\new\start.txt
copy e:\exchsrvr\dsadata\dir.edb h:\new\dir_b.edb 
copy e:\exchsrvr\mdbdata\pub.edb h:\new\pub_b.edb
copy d:\exchsrvr\mdbdata\priv.edb h:\new\priv_b.edb
time /t >h:\new\end.txt
date /t >>h:\new\end.txt
rem
net start MSExchangeSA
rem net start MSExchangeDS - do not start because of defrag operation
rem
net start MSExchangeIS 
net start MSExchangeMTA
net start MSExchangeMSMI
net start MSExchangeIMC 
rem
rem Defrag - N volume = Library-03 server c:\winnt\system32\eseutil /d
E:\exchsrvr\DSADATA\dir.edb /tN:\Exchange\dir_d.edb
c:\winnt\system32\eseutil /d E:\exchsrvr\MDBDATA\pub.edb
/tN:\Exchange\pub_d.edb c:\winnt\system32\eseutil /d
D:\exchsrvr\MDBDATA\priv.edb /tN:\Exchange\priv_d.edb rem rem Integrity
check - N volume = Library-03 server c:\winnt\system32\eseutil /g /ds /x
/tN:\Exchange\dir_i.edb c:\winnt\system32\eseutil /g /ispub /x
/tN:\Exchange\pub_i.edb c:\winnt\system32\eseutil /g /ispriv /x
/tN:\Exchange\priv_i.edb rem pause rem rem *** Start appropriate
services in
order... rem pause temporary stop rem net start MSExchangeSA net start
MSExchangeDS net start MSExchangeIS net start MSExchangeMTA net start
MSExchangeMSMI net start MSExchangeIMC exit
 

Best regards,
Shawn

------------------------------------------------------------------------
----
---
Dipix Technologies Inc. -  www.dipix.com 
Shawn Connelly, Network Engineer, Web Designer
 



========================================================================
====
This email was scanned and certified as free from any known malicious
data
but understand that any files attached and opened by you are at your own
risk! 
The information contained in this message is intended only for the
personal
and confidential use of the designated recipients named herein. As of
May
25, 04, if this disclaimer is not attached, than 
this email did not originate from Dipix Technologies Inc.



_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface:
http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&text_mode=&;
lang
=english
To unsubscribe send a blank email to
%%email.unsub%%
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at: Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface:
http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&text_mode=&;
lang=english
To unsubscribe send a blank email to
%%email.unsub%%
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.




_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface: 
http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&text_mode=&lang=english
To unsubscribe send a blank email to [EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to