Exchange Server 2000 - thousands of log files in the MBDDATA folder

My exchange server recently fell over (about half an hour ago to be precise), giving me a headache I could have done without on a Monday morning. Luckily, I found the problem to be disk space before I did anything too destructive!

However, the disk space issue is mainly being caused by Exchange, as there are literally THOUSANDS of log files in the MBDDATA folder alongside the data stores.

How can I stop Exchange creating these log files in such an alarming amount, and which ones can I safely delete to free up some space?


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ikm7176Sr. IT ManagerCommented:
Perform online backup of your exchange servers using exchange-aware backup software (NTbackup, Veritas exec..etc). It will automatically delete the Transaction log files.


see the link below for some other possibilities

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Also check that you are not being hit by an NDR spam attack. Simply disable sending non-delivery reports to outside senders.

   You have a couple of options how to get rid of these log files:
   1) ntbackup will purge the log files
   2) running eseutil /mh on your priv1.edb files will tell you what log file range in use right now, meaning you can delete
       all other logs.
  I would recommend running the backup.
  In the future, if you don't want those logs files to be there, and you are not attending to run backups (not such a good
  idea), you can enable circular logging, meaing you are going to have only five log files which will be overwritten automatically. Keep in mind, that in case of disaster recovery yoy can loose lot's of data if you do that.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

TeamLinkAuthor Commented:
I tried running a backup, and this didn't delete any log files at all? Am I missiing something, is there any particular settings I need to achieve what I want?

I also tried eseutil /mh but it said that the database was in use - do I need to unmount the stores to run this?

I have log files that go right back to June and earlier - these surely aren't used anymore?

I can't believe there isn't a "tidy up log files more than x days" old feature. How crap is MS Exchange 2000!!!

Finally, as an aside, is Exchange 2003 any better at managing logs, as upgrading is a definite possibility.
  You have to run eseutil when the database is offline. Dismount the stores and run eseutil /mh priv.edb. By the way, what is the version of exchange you are using. As mentioned above, don't delete the log files manually. If you are using Enterprise version of exchange, then how many  stores are there in the storage group.
TeamLinkAuthor Commented:
Thanks for everyoness tips. My full backup was not deleting log files as the public store was not mounted (we don't use it). When I mounted this, and ran a full backup, all the logs disappeared! hurrah!

Thanks again,
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.