Export (0) Print
Expand All

Add a Mailbox Database Copy

 

Applies to: Exchange Server 2013

Topic Last Modified: 2012-10-30

When you add a copy of a mailbox database, continuous replication is automatically enabled between the existing database and the database copy. Database copies are automatically assigned an identity in the format of <DatabaseName>\<HostMailboxServerName>. For example, a copy of the database DB1 that's hosted on the server MBX3 would be DB1\MBX3.

Looking for other management tasks related to mailbox database copies? Check out Managing Mailbox Database Copies.

  • Estimated time to complete this task: 2 minutes, plus the time to seed the database copy, which depends on a variety of factors, such as the size of the database, the speed, available bandwidth and latency of the network, and storage speeds.
  • 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.
  • The active copy of the database must be mounted.
  • The specified Mailbox server must not already host a copy of the database.
  • The path for the database copy and its log files must be available on the selected Mailbox server.
  • The server hosting the active copy and the server that will host the passive copy must be in the same database availability group (DAG). The DAG must also have quorum and be healthy.
  • If you're adding the second copy of a database (for example, creating the first passive copy of the database), circular logging must not be enabled for the specified mailbox database. If circular logging is enabled, you must first disable it. After the mailbox database copy has been added, circular logging can be enabled. After circular logging is enabled for a replicated mailbox database, continuous replication circular logging (CRCL) is used instead of JET circular logging. If you're adding the third or subsequent copy of a database, CRCL can remain enabled.
  • For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard Shortcuts in the Exchange Admin Center.
tipTip:
Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection.

  1. In the EAC, go to Servers > Databases.
  2. Select the database that you want to copy, and then click Add database copy.
  3. On the add mailbox database copy page, click browse..., select the Mailbox server that will host the database copy, and then click OK.
  4. Optionally, configure the Activation preference number for the database copy.
  5. Click More options… to designate the database copy as a lagged database copy by configuring a replay lag time, or to postpone automatic seeding of the database copy.
  6. Click Save to save the configuration changes and add the mailbox database copy.
  7. Click OK to acknowledge any messages that appear.

This example adds a copy of mailbox database DB1 to the Mailbox server MBX3. Replay lag time and truncation lag time are left at the default values of zero, and the activation preference is configured with a value of 2.

Add-MailboxDatabaseCopy -Identity DB1 -MailboxServer MBX3 -ActivationPreference 2

This example adds a copy of mailbox database DB2 to the Mailbox server MBX4. Replay lag time and truncation lag time are left at the default values of zero, and the activation preference is configured with a value of 5. In addition, seeding is being postponed for this copy so that it can be seeded using a local source server instead of the current active database copy, which is geographically distant from MBX4.

Add-MailboxDatabaseCopy -Identity DB2 -MailboxServer MBX4 -ActivationPreference 5 -SeedingPostponed

This example adds a copy of mailbox database DB3 to the Mailbox server MBX5. Replay lag time is set to 3 days, truncation lag time is left at the default value of zero, and the activation preference is configured with a value of 4.

Add-MailboxDatabaseCopy -Identity DB3 -MailboxServer MBX5 -ReplayLagTime 3.00:00:00 -ActivationPreference 4

To verify that you have successfully created a mailbox database copy, do one of the following:

  • In the EAC, navigate to Servers > Databases. Select the database that was copied. In the Details pane, the status of the database copy and its content index are displayed, along with the current copy queue length.
  • In the Shell, run the following command to verify the mailbox database copy was created and is healthy.
    Get-MailboxDatabaseCopyStatus <DatabaseCopyName>
    
    The Status and Content Index State should both be Healthy.
 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft