Move the Database Path
Applies to: Exchange Server 2010
You can move the mailbox database path on your server running Microsoft Exchange Server 2010. To set a new path to the location of a database and to move the related files to that location, you can use the EMC or the Shell.
Looking for other management tasks related to mailbox databases? Check out Managing Mailbox Databases.
Prerequisites
To perform the move operation, the database must be temporarily dismounted, making it inaccessible to all users. If the database is currently dismounted, it isn't remounted upon completion.
What Do You Want to Do?
- Use the EMC to move the mailbox database path
- Use the Shell to move the mailbox database path
Use the EMC to move the mailbox database path
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Mailbox database" entry in the Mailbox Permissions topic.
- In the console tree, navigate to Organization Configuration > Mailbox.
- In the result pane, on the Database Management tab, select the database you want to configure.
- In the work pane, click Move Database Path.
- In the Move Database Path wizard, under Database paths, click Move to move the database path to the default location. You can change the location for the database file path by editing the Database file path field. You can change the location for the log folder path by editing the Log folder path text field.
- View the status of the move operation. The wizard moves the database file path and the log folder path to the new location. Click Back to make configuration changes.
- On the Completion page, confirm whether the move process completed successfully. A status of Completed indicates that the wizard completed the task successfully. A status of Failed indicates that the task wasn't completed. If the task fails, review the summary for an explanation, and then click Back to make any configuration changes.
- Click Finish to complete the Move Database Path wizard.
Use the Shell to move the mailbox database path
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Database permissions" entry in the Mailbox Permissions topic.
This example uses the Move-DatabasePath command to set a new path for the mailbox database specified by the GUID.
Move-DatabasePath -Identity a0ec9f03-12a9-4e40-9310-43f9105fd4d2 -EdbFilePath C:\NewFolder\MyDatabase.edb
For detailed syntax and parameter information, see Move-DatabasePath.