Deleting Exchange 2007 Logs

Posted on 2011-03-03
Last Modified: 2012-05-11

I just realized I have only 7.5 GB left on 200 GB dedicated disk space to Exchange Database/logs

I use NTBackup but from another server (2003 Enterprise), as exchange 2007 doesn't support ntbackup. I have been backing up by selecting the location of exchange database/logs drive from the network tree using NTBACKUP thinking it would do the trick. well it didnt and I afraid im going to run into problems. I know I cant delete them by hand either....

What can I do quickly to resolve this issue??

Question by:D0TCom

Expert Comment

ID: 35031713

Expert Comment

ID: 35031733
Dismount the DB during off hours and do a copy of the db first and then delete the log files.
This would save you since you do not have a full backup incase something happens.

Author Comment

ID: 35031754
This document is first for exchange 2003. And I already run full backups on my Exchange drive.

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

LVL 16

Accepted Solution

uescomp earned 500 total points
ID: 35031926
You can temporarilily enable circular logging.  This will clear out your Exchange logs.  You should not delete them manually as this can cause problems.  Once the logs have cleared out you can disable circular logging again.  It should only take a few minutes for the whole process to complete.

Author Comment

ID: 35035955

I followed the instructions, restarted exchange and it free space increased only by small margin.

Ihowever now im gettig this error ...

Microsoft Exchange Error
Failed to mount database 'Mailbox Database'.

Mailbox Database
Exchange is unable to mount the database that you specified. Specified database: COBRA\First Storage Group\Mailbox Database; Error code: MapiExceptionBusy: Unable to mount database. (hr=0x8004010b, ec=-2147221237)


Author Comment

ID: 35036105
System Attendant service wasnt started and other exchange servers werent as well .... is that because I enables the circular loggin?

I have disabled it again and I'm in the proccess of restaring exchange....this is not good.

Author Comment

ID: 35036341
Ok everything is up and running again, disbaled the circular loggin and now i have an additional 50 GB total of 100 GB. however I still see logs from july 2010.

Reason why I couldnt mount, was that I was connected to exchange via RDP use vpn and exchange services were set to start by local access. I had to start all automatic services manually to mount the database.

Still need  a permenant fix for the logs...

Author Closing Comment

ID: 35039696
Temporary Fix. Thanks for the help

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Microsoft will be releasing the Windows 10 Creators Update in just a matter of weeks. Are you prepared? Follow these steps to ensure everything goes smoothly and you don't lose valuable data on your PC.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

830 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