locked
Removal of exchange 2010 log files RRS feed

  • Question

  • Exchange would definitely create log for each task, so my question is where these log file and would it be safe to remove them. Is there any automatic setting which we could set in exchange like to remove logs older than 30 days ?
    ---- Tahir Khan --- -Exchange Solution Provider- -http://hostautomate.com
    Thursday, June 16, 2011 12:45 PM

Answers

  • Hi,

    Microsoft recommends to making a full back-up regularly. After that, the transaction logs will be deleted automatically. So, according to your description, you can make a full back-up regularly and the time depends on your environment.

    Besides, I suggest that you don’t delete transaction logs manually. Without a complete set of transaction log files, you cannot recover any data more recent than the last full back-up.

    Hope this helps.

    Thanks


    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.
    • Proposed as answer by Sophia Xu Thursday, June 23, 2011 2:39 AM
    • Marked as answer by Sophia Xu Friday, June 24, 2011 6:16 AM
    Tuesday, June 21, 2011 2:24 AM

All replies

  • Best way to deletye log is take a full backup and then log will be purged. If you have any issue with backup then first dismount store and can delete log file older. We must cut and keep somehwre and later can delete it.

     


    Anil MCC 2011,ITIL V3,MCSA 2003,MCTS 2010, My Blog : http://messagingschool.wordpress.com
    Thursday, June 16, 2011 12:53 PM
  • From which location you took and remove log files ?
    ---- Tahir Khan --- -Exchange Solution Provider- -http://hostautomate.com
    Thursday, June 16, 2011 1:04 PM
  • 1. Which logs file are you talking about? Message tracking or transactions logs.  For message tracking see below.

    http://technet.microsoft.com/en-us/library/aa997984.aspx

    2. For transaction logs, you need to perform a backup, either a full or incremental.  If youre not curretnly doing backups then introduce this, how often you do this type of backup will determince how often your logs will be deleted, so if you only back once in 30 days, then you logs will only be deleted after the backup on the 30th day.  I'd advise you to backup everyday.

    3. There is no setting which I am aware of that will delete the log files after 30 days.  You must do this manually.  You can use the database recovery management to remove/move the logs files too, it will identify those logs which can be safely removed.  Or you can do it manually.


    Sukh
    • Proposed as answer by Sukh828 Thursday, June 23, 2011 6:19 AM
    Thursday, June 16, 2011 1:11 PM
  • Hi,

    Microsoft recommends to making a full back-up regularly. After that, the transaction logs will be deleted automatically. So, according to your description, you can make a full back-up regularly and the time depends on your environment.

    Besides, I suggest that you don’t delete transaction logs manually. Without a complete set of transaction log files, you cannot recover any data more recent than the last full back-up.

    Hope this helps.

    Thanks


    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.
    • Proposed as answer by Sophia Xu Thursday, June 23, 2011 2:39 AM
    • Marked as answer by Sophia Xu Friday, June 24, 2011 6:16 AM
    Tuesday, June 21, 2011 2:24 AM