Manually truncate Exchange logs
ometimes your Exchange backup just doesn’t seem to get around to truncating the log. You can’t turn on circular logging because it prevents using differential and incremental backups. What is a tech supposed to do?
Truncate the Exchange transaction logs manually. Here’s how.
- Login to the Exchange mailbox server.
- Open the Exchange management shell (EMS).
- Open the Exchange management console (EMC).
- In the EMC, stop the database that you want to truncate the logs for.
- In EMS, run the command
eseutil /MH “M:\Database Path\Mailbox store.edb”
- In the output, it will tell you what the database state is. If it says “Clean Shutdown”, you can move all of the logs to another directory. The logs you want to move start with EDB followed by a 5 digit hexadecimal number.
- In the EMS, start the database and test.
Typically, I save the logs for 12 hours before I delete them permanently, but I may be overly cautious.
This entry was posted in Exchange
. Bookmark the permalink