Move Mailbox databases and logs, 3 steps will be performed
- If the target database is already loaded, dismount the mailbox database first;
- Migrating the target mailbox database;
- Loading the mailbox database;
Uninstalling the Mailbox database
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/85/70/wKioL1ejUtCyKoPFAAB_nrAyILE560.png "/>
Migrating mailbox databases and log files
The first step is to confirm the current location of the target mailbox database. Type the command.
Get-mailboxdatabase
Get-mailboxdatabase Identity Mailbaox51 | FL *path*
After the command executes,
The first command, querying all Exchange mailbox databases in your organization;
The second command confirms the target database Mailbaox51 and the log file path;
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/85/70/wKioL1ejUtKyxiE8AAA3_BaUhCM462.png "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/85/71/wKiom1ejUtSwskW4AABLsj-UNxA854.png "/>
The second step is to move the database and log files to the destination folder. This example moves to the destination folder "E:\Archivemailbox"
Move-databasepath Identity Archivemailbox-edbfilepath F:\ArchiveMailbox\ArchiveMailbox.edb-LogFolderPath f:\ Archivemailbox
Note: You cannot run this cmdlet on a replicated mailbox database. To move the path of a replicated database, you must first delete all replicated copies before you can perform the move operation. After the move operation is complete, you can add a copy of the mailbox database.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/85/70/wKioL1ejUteg-VoJAABwQwYOyYw660.png "/>
Note: Before migrating, you can see the number of log files in the original location, and compare them with the following to verify that the migration was successful.
The third step, confirm the location of the mailbox database, type the command:
Get-mailboxdatabase-identity Archivemailbox | FL *path*
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/85/71/wKiom1ejUtvg9faQAABBhpPFfOw934.png "/>
Loading the database
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/85/70/wKioL1ejUtzDs7jfAACMpXyqvVQ178.png "/>
At this point, the migration is complete.
Exchange Enterprise Combat mailbox Database and log file migration