Perform these steps to restore a replicated database copy
in a Database Availability Group (DAG). This procedure assumes that
you already backed up your database.
About this task
You can do some of these steps by using either the Exchange
Management Console or the Exchange Management Shell commands, which
are provided in parentheses.
Procedure
To restore a Database Availability Group database copy:
- Make the database that you want to restore active (Move-ActiveMailboxDatabase).
- Suspend replication of the all passive copies of the database
(Suspend-MailboxCopy).
- Unmount the active mailbox database (Dismount-Database).
- Stop the replication service on all copies of the database.
Do this step only for a VSS Instant Restore operation.
- Restore the database and logs by using the Data Protection for Microsoft Exchange command
line or GUI.
Restriction: The database must
not be mounted automatically after the restore. If you use the GUI,
ensure that the MountDatabasesAfterRestore option
is set to False in the Restore panel, you must
clear it. If you use the command line, the /mountdatabases restore
option must be set to NO.
- If the service was stopped, start the replication service
first before you mount the active mailbox database. Otherwise, the
database mount fails. (Mount-Database).
- Verify the health of the database before you update or
reseed to replicated database copies. (Get-MailboxDatabaseCopyStatus)
- Update or reseed all replicas (Update-MailboxDatabaseCopy).
This step avoids potential transaction log synchronization problems
that might arise if replication were resumed directly.
- Move the active database to the server that you want. (Move-ActiveMailboxDatabase)