How to move the Exchange Server 2016 mailbox Database path method

Source: Internet
Author: User
Tags file size

When Exchange server 2016 is installed, a default mailbox database is created on the server for the administrator, and is placed in the following path of the system disk:

C:Program Filesmicrosoftexchange Serverv15mailbox

Use the following command on our test server to see the default created database name, database file, and log file path:

Get-mailboxdatabase | FL Name,edbfilepath,logfolderpath

Using the system disk as the default storage path for the mailbox database is obviously inappropriate, so it is recommended that you move the Exchange database and log files to a dedicated volume for storage. Also, because the Exchange database and log files are generally growing, their storage volumes suggest using larger free space.

Although the Exchange mailbox database can move locations at any time, you need to take the database offline when you move, which interrupts the user's access. Therefore, the proposal is carefully evaluated in planning. And then start providing services to users after the Exchange mailbox database is properly seated.

Note: The following steps do not apply to mobile DAG member's mailbox database path.

Because the default database name created by Exchange Server 2016 is randomly generated and is very inconvenient for administrators to identify and manage, before moving, I first change the "Mailbox db 2002024058" database name to "DB1" by using the following command:

Set-mailboxdatabase "Mailbox Database 2002024058"-name "DB01"

Now we use the Move-databasepath cmdlet to move the Exchange mailbox database and transaction log files to a new location:

Move-databasepath Db01-edbfilepath D:db01db01.edb-logfolderpath E:DB01

As shown above, according to Microsoft's best practices, it is recommended that you keep the database separate from the transaction log.

When an appeal order is executed, the database is temporarily dismount and the file is automatically reinstalled after it is copied to the new location, and the time of database and log movement depends largely on the database and log file size, source, and destination disk speed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.