Exchange 2016 (2013) Renaming and Moving Databases

Advertisement

KB ID 0001229 Dtd 12/08/16

Problem

Exchange has a habit of naming its databases as 'Mailbox Database {Random-Number}'. This makes my OCD 'itch'. So one of the first things I do is rename the database to something more sensible. Then I like to move the databases from the server system drive, and also relocate the log files into their own partition/drive.

 

Solution

Rename a Mailbox Database

Log into Exchange Admin Center > Servers > Databases  > Select the Database > Edit > Rename the Database as required > Save.

Rename Exchange Database

Note: You can change the database location here also, but not the log file path so I do that using the Exchange Shell.

Moving a Mailbox Database and Log Files

The syntax for mixing both the database files and the log files is;

Move-DatabasePath MBX-DB-2016 -EdbFilePath E:\EX-Databases\MBX-DB-2016.edb -LogFolderPath L:\EX-Logs

Move Exchange Database and Logs

You will be asked to confirm the move and that you are happy to take the database offline.

Related Articles, References, Credits, or External Links

NA

Author: PeteLong

Share This Post On

Submit a Comment

Your email address will not be published. Required fields are marked *