Solved

auto defrag mailbox store

Posted on 2004-10-14
7
949 Views
Last Modified: 2008-02-01
I want to defrag the mailbox store with the command 'eseutil /d priv1.edb'.  Does it have to be dismounted before I run that command?  I was hoping to put it in a batch file and set it to run on a schedule.  But, if it has to be dismounted first, I guess I can't.  Unless there is a command that I could put in the batch file that would dismount the store first, defrag it (to reduce size), and then re-mount it.

What do you think?
0
Comment
Question by:theamzngq
  • 4
  • 2
7 Comments
 
LVL 104

Expert Comment

by:Sembee
ID: 12311233
Does it need doing?
How much white space is event ID 1221 reporting overnight? Unless you are going to gain a large amount of space (I don't bother unless it is at least 30% reduction) then I don't see the point in risking the database.

It would have helped if you mentioned which version of Exchange it was as well...

Simon.
0
 
LVL 21

Expert Comment

by:marc_nivens
ID: 12311403
I'm with Sembee on this one... unless you need to recover space or you're have a specific DB related issue, offline defrag is not really what you would consider normal maintenance.  In other words, don't do it unless you have a reason to.
0
 
LVL 2

Author Comment

by:theamzngq
ID: 12316333
Yes, it needs doing.  we have recently deleted a ton of email, plus we're getting close to the 16 GB limit.  Does it need to be dismounted manually or not?  And if it does have to be dismounted, is there a way to do it in an automated fashion?
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 2

Author Comment

by:theamzngq
ID: 12316336
E2K3, by the way.
0
 
LVL 21

Accepted Solution

by:
marc_nivens earned 500 total points
ID: 12317194
You can dismount it simply by stopping the Information Store.  Thats just a batch file with the command "net stop msexchangeis".  However, since its something you won't really be doing that often its probably easier just to do it manually.
0
 
LVL 2

Author Comment

by:theamzngq
ID: 12320501
yes, you're right.  The desire to do it automatically comes from not wanting to have to wait till after hours to do it, remembering to do it at all, and then remembering to remount the store after its done.  If it needs to be done, then I can schedule it to happen when everyone's gone, and then schedule it to be remounted several hours later.  That way I don't have to remember to do it once I'm gone (which is hard once I'm home).  Make sense?

So then, I assume that remounting the store is simply 'net start msexchangeis'?
0
 
LVL 2

Author Comment

by:theamzngq
ID: 12320514
by the way, I did it last night and we gained 3 GB
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

939 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

10 Experts available now in Live!

Get 1:1 Help Now