none
How To Clear Log Files In Exchange 2010

    Question

  • I want to clear the log files for our exchange 2010 server. What is the proper way to do it? Do I need to remove everything including checkpoint file? (.chk) 

     

    Pls. help. Thanks in advance

    Cheers

    Thursday, March 10, 2011 10:19 AM

Answers

All replies

  • The proper way to clear your log files is to take a full backup och the Exchange database or to enable circular logging. But, you can also use the following method to clear the logs.

    Dismount the databases, verify the databases are showing "Clean shutdown". Then run ESEUTIL /MH on them and after that you can delete all the tran logs, restart the the MSExchangeIS service and mount the databases.
    And yes, you should also delete the chk files.

    Martin Sundström | Microsoft Certified Trainer | MCITP: Enterprise Messaging Administrator 2007/2010 | http://msundis.wordpress.com
    • Proposed as answer by Thiyagu14 Thursday, March 10, 2011 1:29 PM
    • Marked as answer by Serena LiModerator Monday, March 28, 2011 8:06 AM
    Thursday, March 10, 2011 11:18 AM
  • Please check this article.

     

    Thanks

    Thursday, March 10, 2011 11:36 AM
  •  

    Hi,

     

    There are two ways to achieve your goal. One option that can reduce the amount of space used by Exchange transaction logs is circular logging, where the oldest logs are eventually overwritten as they are phased out. Another possibility is to selectively remove unneeded Exchange transaction logs.

    For detailed, please see the second article listed by Martin.

     

    Best regards,

    Serena


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Monday, March 14, 2011 9:57 AM
    Moderator
  • http://support.microsoft.com/kb/240145

    if you are using DAG, make sure all all logs are replicated.


    Thanks, Sandheep
    Monday, March 14, 2011 10:22 AM