Exchange 2013 Logs Filling Drive After Migration

Brandon Miller
Brandon Miller used Ask the Experts™
on
We have a 3 server DAG, I am moving users from an old database to a new database. I moved 50 users over the weekend with the GUI user migration utility. We had a full backup performed Sunday night but I still have 140gb of log files after the user migration completed. I set Veeam to do another full backup Monday night to see if it would truncate the logs and it still did not work. I need to recover this space quickly. Is there anything I can do to get the logs to truncate?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2014

Commented:
I've always turned circular logging on and then off again to get out of this situation.
MASEE Solution Guide - Technical Dept Head
Most Valuable Expert 2017

Commented:
You can enable circular logging to flush the logs. Please find the below article for more detailed info.
https://www.petenetlive.com/KB/Article/0001224
Once you are done you can disable circular logging.

It is recommended to have a dedicated drive for logs. Please check this article on how to move logs to a different drive,.
https://www.experts-exchange.com/articles/31688/Move-Mailboxdatabase-and-other-logs-to-different-drive-in-Exchange-2013-2016.html
Brandon MillerSystems Administrator

Author

Commented:
Thanks I just realized circular logging was not on for the new database. The old ones had it enabled.
IT Architect
Distinguished Expert 2017
Commented:
Before any mailbox move task, below are the steps you need to follow:

1) Take full backup for your source db.
2) Enable circular logging on your destination db and start the move.
3) Once move completed, disable the circular logging and take full backup for your destination server.

In current situation, you can either take full backup or enable circular logging during mailbox move.

Note: DB need to be dismounted and remounted, for enabling circular logging.
Lee W, MVPTechnology and Business Process Advisor
Most Valuable Expert 2013

Commented:
I've considered circular logging to be a cop-out and something that should be avoided at all costs.  If your backups are not clearing the logs, your backups are likely not working properly.  Isn't it important - nay, critical - to ensure the backups are functioning properly?  Fix them and your log problems go away.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
The Veeam job has been setup correctly ?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial