挂起或恢复邮箱数据库副本

适用于:Exchange Server 2013

由于各种原因,您可能需要挂起或恢复数据库副本,例如维护包含数据库副本的磁盘,或是为进行灾难恢复而暂停激活的单个数据库副本。

是否要查找与邮箱数据库副本相关的其他管理任务? 请参阅 管理邮箱数据库副本

开始前,有必要了解什么?

提示

是否有任何疑问? 在 Exchange 论坛中寻求帮助。 访问 Exchange Server 的论坛。

使用 EAC 挂起邮箱数据库副本

  1. 在 EAC 中,转到 “服务器>数据库”。

  2. 选择要挂起其副本的数据库。

  3. In the Details pane, under Database Copies, click Suspend under the database copy you want to suspend.

  4. In the Comments field, add an optional comment of up to 512 characters specifying the reason for the suspension.

  5. To suspend the database copy from automatic activation, select the This copy can only be activated by manual intervention check box.

  6. 单击“保存”挂起数据库副本。

使用 EAC 恢复邮箱数据库副本

  1. 在 EAC 中,转到 “服务器>数据库”。

  2. 选择要恢复其副本的数据库。

  3. In the Details pane, under Database Copies, click Resume under the database copy you want to resume.

  4. 单击“是”恢复数据库副本。

使用命令行管理程序挂起邮箱数据库副本

此示例对服务器 MBX1 上托管的数据库 DB1 的副本暂停连续复制。 此外,还指定了可选注释。

Suspend-MailboxDatabaseCopy -Identity DB1\MBX1 -SuspendComment "Maintenance on MBX1" -Confirm:$False

此示例挂起了服务器 MBX2 上承载的数据库 DB2 的一个副本的激活。

Suspend-MailboxDatabaseCopy -Identity DB2\MBX2 -ActivationOnly -Confirm:$False

使用命令行管理程序恢复邮箱数据库副本

此示例恢复了邮箱服务器 MBX1 上的数据库 DB1 的一个副本。

Resume-MailboxDatabaseCopy -Identity DB1\MBX1

本示例恢复了服务器 MBX2 上数据库 DB2 的一个副本,仅用于复制。

Resume-MailboxDatabaseCopy -Identity DB2\MBX2 -ReplicationOnly

您如何知道这有效?

若要验证是否已成功挂起或恢复邮箱数据库副本,请执行以下操作:

  • 在 EAC 中,导航到 “服务器>数据库”。 Select the appropriate database, and in the Details pane, click View details to view the database copy properties.

  • 在命令行管理程序中,运行以下命令来显示数据库备份的状态信息。

    Get-MailboxDatabaseCopyStatus <DatabaseCopyName> | Format-List