Tuesday, 27 August 2013 12:25

Moving Transport Queue Database and Logging Path on Exchange 2010

Written by

Exchange installation will set the Exchange Server Transport Queue database and Logging path inside the installation directory by default. Many times due to various reasons we change the location of Transport queue database and logging into another drive. You can adopt anyone of the following method,

Method 1: Use the Powershell Script Move-TransportDatabase.ps1

This is the easiest method, and I strongly recommend too.

1. Move the Queue Database Path by running the below cmdlet,

.\Move-TransportDatabase.ps1 -queueDatabasePath:"H:\ExchangeDatabases\TrasportQueue"

Move_DB_Location

2. Move the Queue Database Logging Path by executing the below cmdlet,

.\Move-TransportDatabase.ps1 -queueDatabaseLoggingPath:"H:\ExchangeDatabases\TrasportQueue"

Move_DB_Logging_Location

You are done!

Method 2: Modify the EdgeTransport.exe.config file in "%ExchangeInstallPath%Bin" path.

Open "%ExchangeInstallPath%Bin\EdgeTransport.exe.config" in a notepad and modify the below entries,

<add key="QueueDatabasePath" value="<LocalPath>" />
<add key="QueueDatabaseLoggingPath" value="<LocalPath>" />

Replace the <LocalPath> with the new location you created, in my case it is “H:\ExchangeDatabases\TrasportQueue” and the changed entries as shown below.

<add key="QueueDatabasePath" value=" H:\ExchangeDatabases\TrasportQueue " />
<add key="QueueDatabaseLoggingPath" value=" H:\ExchangeDatabases\TrasportQueue " />

Save and close the notepad, and restart your Microsoft Exchange Transport service. You are done!

Ensure that the database queue files and logging files are created under the new location and the mailflow is normal.

Share if you face any issues!

-Praveen

theme by reviewshub