Moving Log File Location
I have 3 Exchange 2013 servers that were just upgraded to CU9. Each server has a C: and E: drive. Logging was set to the C: drive and is now starting to fill up Drive C: on all 3 servers. E: drive holds all the databases but logging is still going to C:. I changed the location of the Transport Logs from C: to E: using EAC but don't see how to change the location of all the logs. How do I configure Exchange 2013 to log everything to the E: drive?
August 13th, 2015 12:33pm

You're talking about database transaction logs, right?

You'll have to perform the following on each database separately.

Is there a DAG?  If there are multiple copies, the task is more difficult.

If there aren't multiple copies, simply enter a command like this:

Move-DatabasePath -Identity DATABASE_NAME -LogFolderPath E:\Path\Path

There will be a brief outage for those whose mailboxes are hosted in that database.

If there are multiple copies, you must dismount the database, enter the above command with the -ConfigurationOnly:$True switch, manually move the log files on each server, then mount the database.

Free Windows Admin Tool Kit Click here and download it now
August 13th, 2015 12:56pm

You're talking about database transaction logs, right?

You'll have to perform the following on each database separately.

Is there a DAG?  If there are multiple copies, the task is more difficult.

If there aren't multiple copies, simply enter a command like this:

Move-DatabasePath -Identity DATABASE_NAME -LogFolderPath E:\Path\Path

There will be a brief outage for those whose mailboxes are hosted in that database.

If there are multiple copies, you must dismount the database, enter the above command with the -ConfigurationOnly:$True switch, manually move the log files on each server, then mount the dat

August 13th, 2015 1:25pm

You run that once and manually move the files on all servers hosting copies.  Be sure to wait for replication if the servers are across sites before mounting the database.
Free Windows Admin Tool Kit Click here and download it now
August 13th, 2015 8:15pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics