<

Exchange 2019 - Move your Transport Database with PowerShell

Posted on
6,011 Points
11 Views
Last Modified:
Published
Experience Level: Advanced
4:25
Edward van Biljon
Experienced Messaging Specialist with a demonstrated history of working in the information technology and services industry.
In this Exchange 2019 video, we show you how to move the Transport Database and logs to a different directory and also go through the directories to ensure they have moved across. We also show you that we have run the new commands in Exchange but also that the older commands will work as well.

Here are the PowerShell commands to be used as the final step after step 3 (Replace exchange-2019 with your server name):

Set-TransportService –identity exchange-2019 -ConnectivityLogPath "E:\TransportLogs\Connectivity"
Set-TransportService –identity exchange-2019 -ReceiveProtocolLogPath "E:\TransportLogs\ProtocolLog\SmtpReceive"
Set-TransportService –identity exchange-2019 -SendProtocolLogPath "E:\TransportLogs\ProtocolLog\SmtpSend"
Set-TransportService –identity exchange-2019 -MessageTrackingLogPath "E:\TransportLogs\MessageTracking"
Set-TransportService –identity exchange-2019 -RoutingTableLogPath "E:\TransportLogs\Routing"
Set-TransportService –identity exchange-2019 -PipelineTracingPath "E:\TransportLogs\PipelineTracing"

Video Steps

1. Open the Exchange management shell

Click on start and then expand Exchange Server 2019 and click on Exchange Management shell.

2. Change location

For the first command to work, you need to type cd\ and press enter. Next you need to navigate to "C:\Program Files\Microsoft\Exchange\V15\Scripts.

3. Type in the first commmand

Enter in the following command: .\Move-TransportDatabase.ps1 -QueueDatabasePath C:\data\Queue -QueueDatabaseLoggingPath C:\data\Queue\Logs -IPFilterDatabasePath C:\data\IPFilter -IPFilterDatabaseLoggingPath C:\data\IPFilter\Logs -temporarystoragepath C:\data\TemporaryStoragePath (Replace C:\ with the desired drive letter)
0
0 Comments
This article will help you export a certificate from Exchange 2013 and above versions and import to other servers.
This article explain the need of relay connector in Exchange and how to create relay connector in Exchange server.