Remove a mailbox database copy
You can use these procedures to remove a copy of a mailbox database, but you can't use them to remove the last copy of a mailbox database. For detailed steps about how to remove the last copy of a mailbox database, see Remove a mailbox database or Remove-MailboxDatabase.
Looking for other management tasks related to mailbox database copies? Check out Manage mailbox database copies.
What do you need to know before you begin?
Estimated time to complete this task: 1 minute
Mailbox database copies can only be removed from a healthy database availability group (DAG). If the DAG isn't healthy (for example, the DAG's underlying cluster is down because quorum was lost), you won't be able to remove any mailbox database copies.
If you're removing the last passive copy of the database, continuous replication circular logging (CRCL) must not be enabled for the specified mailbox database. If CRCL is enabled, you must first disable it. After the mailbox database copy has been removed, circular logging can be enabled. Once enabled for a non-replicated mailbox database, JET circular logging is used instead of CRCL. If you aren't removing the last passive copy of a database, CRCL can remain enabled.
After removing a database copy, you must manually delete any database and transaction log files from the server from which the database copy is being removed.
You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Mailbox database copies" entry in the High availability and site resilience permissions topic.
For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.
Use the EAC to remove a mailbox database copy
In the EAC, go to Servers > Databases.
Select the mailbox database whose copy you want to remove.
In the Details pane, locate the passive copy you want to remove and click Remove.
Confirm the removal on the warning dialog box by clicking yes.
Click ok to confirm the removal after reviewing any messages.
Manually delete any database and transaction log files from the server from which the database copy is being removed.
Use the Exchange Management Shell to remove a mailbox database copy
This example removes a copy of the mailbox database DB1 from the Mailbox server MBX1.
Remove-MailboxDatabaseCopy -Identity DB1\MBX1 -Confirm:$False
For detailed syntax and parameter information, see Remove-MailboxDatabaseCopy.
How do you know this worked?
To verify that you've successfully removed a mailbox database copy, do one of the following:
In the EAC, navigate to Servers > Databases. Select the appropriate database, and in the Details pane, the removed passive copy is no longer listed.
In the Exchange Management Shell, run the following command to verify removal of the copy.
Get-MailboxDatabase <DatabaseName> | Format-List DatabaseCopies
The removed passive copy is no longer listed.