Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Exchange server 2007 shutdown! looks like D drive is full.....I think it is Transaction log that need to be purged...PLEASE HELP!

Posted on 2013-12-20
Medium Priority
Last Modified: 2014-01-03
we have exchange 2007 and today it just shutdown. I noticed our D drive was full and see where there are gigs of logs, but not sure if I can or how t purge them. I am not sure if there is a procedure that clears them, but apparently it is not working. I need to free up some space fast. All advice welcome. I will be here to reply to responses and questions.thanks
Question by:Thor2923
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +2

Expert Comment

ID: 39733015
usually the logs are flushed after a full backup.   What software do you use to backup exchange?
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39733036
To free up some space, compress the oldest log files.
DO NOT compress the entire directory, anything dated in the last hour or anything that isn't a log.

Then run a backup of the Exchange database using an Exchange aware backup application.


Author Comment

ID: 39733989
ok thank for the comments and support. What we did was;

1. Opened the Exchange admin console and found the databases dismounted.

2. If you right click the folder (or whatever is called) that it above the database and go to properties, you see a box "enable circular logging". We checked that box for each database and stopped and restarted the exchange services.

After a few minutes the trans logs were cleared and mail was flying through again. I late went back and unchecked the box to how it was before this started.

I see comments about backups. We are using a new Unitrends backup appliance that has only been in place for a few weeks. Before that we had Symantec 2010 and did not have this problem. I am guessing that our new backup solution is not clearing logs like it should. I will open a ticket with them on Monday, but does anyone know of a built in Exchange 2007 or Windows tool that will do this for me? I have looked through the Unitrend settings and do not see anything to clear logs. I will ask them but I have a feeling I will need to find another way to keep the logs under control in the future.

BTW does anyone know the consequences of just leaving "Circular logging enabled" ??
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

LVL 63

Assisted Solution

by:Simon Butler (Sembee)
Simon Butler (Sembee) earned 750 total points
ID: 39734679
If you enable circular logging, then a backup is just to the point in time.
Therefore if you have a backup at 2am and the storage holding the database fails at 1am, you lose the last 23 hours. If the logs were in place then you could replay them in to the replacement database.

You need to check with the backup vendor if they are Exchange aware (probably using VSS). If they are not, then that would have been a failure at the product selection process for me.
You can use the built in Windows Backup feature to backup (and flush the logs) but it is rather limited.


Expert Comment

ID: 39735428
Is the the log drive completely full or do you have space left on that. If you have space left run incremental backup to purge the logs rather than manually or through circular logging.

If the space is completely zero then check are the databases are clean shutdown if the database are clean shutdown then delete all the transaction log manually & mount the databases.

How to check databases are clean shutdown.

Author Comment

ID: 39741892
The drive is almost empty now and logs are cleared. Enabling Circular logging did what we needed to get the server back online. My issue is, and as was pointed out, an error in product selection, our new backup solution, Unitrends, does not clear the logs for us like our Symantec solution did in the past. It looks like an assumption was made and now we need to find another way to routinely clear the logs. I am thinking maybe a weekly Windows backup that does the minimum requried to clear the logs. If anyone has set up a backup like this for the sole purpose of logs and uses another solution for the main backup, I would appreciate hearing from you

Accepted Solution

dsnegi_25dec earned 750 total points
ID: 39743092
As far as I know every backup tool have the capability to purge the logs . So what I will suggest you raise a call with a backup vendor ask them why this is not purging the logs .

Meanwhile you can also go with exchange event viewer & try to find out why the logs are not purging after backup . I have seen the issue when the mailbox servers are on DAG environment but their replication has been stopped due to that logs are not purged . Other issues may be  a NIC card problem.
LVL 30

Expert Comment

by:Sudeep Sharma
ID: 39749660
Check the KB from Unitrends for Exchange Log truncation:

And few videos on other configuration as well:


Author Closing Comment

ID: 39754820
All good info, my FULL backups seem to be clearing the logs now...not sure what happened, but it is working now

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
CodeTwo Sync for iCloud ( automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

722 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