Link to home
Start Free TrialLog in
Avatar of Ampletrix
AmpletrixFlag for Australia

asked on

Clear the logs on Exchange 2007

Hello All,

I have a MS Exchange 2007 server on MS Server 2003 R2.
I have Exchnage installed on the E:\ drive with all the storage groups on E:\  (700Gb)
The log files were set up on D:\ (40Gb). This is not big enough, and it's killing me.

How does Exchange clear the logs? Do I do a full backup of all the information stores, or a full backup on the logs? Is there a way to manually purge the old logs?

Thanks.
Ampletrix.
Avatar of Toraif
Toraif

Hi,
You can do a full backup in a daily basis, and one backup full incremental weekly on the backup stores.
Logs can be purged by following these links.

http://www.msexchange.org/articles_tutorials/exchange-server-2007/management-administration/managing-exchange-server-2007-log-files-part1.html

http://www.msexchange.org/articles_tutorials/exchange-server-2007/management-administration/managing-exchange-server-2007-log-files-part2.html

By following the above links you will have a good knowledge about Exchange 2007 logging and how to manage the logs in a way that suites your situation.
Avatar of Glen Knight
The logs are only purged when a full online backup has been completed by an Exchange aware backup product.

Windows Backup is a suitable product.
If you are looking at temporary solution, you should enable circular logging at storage group in Ex2k7. However, if circular logging is enabled, you can recover data only up until the last full backup.
Avatar of Ampletrix

ASKER

Thank you Toraif,
When I do a full backup, does it clear the logs? The articles above doesn't make that clear. Do I do a full backup of the logs only, or do I do a full backup of the Storage groups in order to clear the logs?
I'm in a small predicament right now. My databases are dismmounting because there is no space on the D:\ (logs) drive right now.
I am running a full backup of the storage groups as we speak, but I want to make sure that the old logs will be cleared.
 
Thanks for the articles anyway.
Ampletrix.
paritoshjani, that is dangerous advice.  If there was a recent full backup do you think there would be 40Gb of log files?

Whilst circular logging will purge the logs, it is not a long term fix to this problem.
ASKER CERTIFIED SOLUTION
Avatar of sire_harvey
sire_harvey
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What Backup System are you using?
Symantec NetBackup 6.5.4
Whenever you do the backup, the agent it self will delete/purge the old logs. I use Symantec EXEC 2010 and it is working fine with me. It is a matter of configuring the agent to do the neccessary action after taking backup.

If you need further instructions, let me know.
Hello Toraif,
Thanks for the input.
Where do I set the agent to do this?
Ampletrix.
There was some issues with my backups. It didn't clear the arcvhive bit to be able to clear the logs.