Applies to: Exchange Server 2013
Topic Last Modified: 2012-11-06
These procedures show you how to remove a copy of a mailbox database. You can't use these procedures 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 Managing Mailbox Database Copies.
What do you need to know before you begin?
- Estimated time to complete this task: 1 minute
- 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.
- 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.
- For information about keyboard shortcuts that may apply to the
procedures in this topic, see Keyboard Shortcuts in
the Exchange Admin Center.
Tip: |
---|
Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection. |
What do you want to do?
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 Shell to remove a mailbox database copy
This example removes a copy of the mailbox database DB1 from the Mailbox server MBX1.
Copy Code | |
---|---|
Remove-MailboxDatabaseCopy -Identity DB1\MBX1 -Confirm:$False |
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 Shell, run the following command to verify removal of
the copy.
Copy Code Get-MailboxDatabase <DatabaseName> | Format-List DatabaseCopies