在 Lync Server 2013 中执行和监视备份Performing and monitoring backups in Lync Server 2013

 

上次修改的主题: 2014-05-15Topic Last Modified: 2014-05-15

您的业务优先级应推动组织的备份和还原要求的规范。Your business priorities should drive the specification of backup and restoration requirements for your organization. 在规划灾难时,执行服务器和数据的备份是第一条防御措施。Performing backups of the servers and data is the first line of defense in planning for a disaster.

运行 Lync Server 2013 服务或服务器角色的计算机必须具有当前拓扑的副本、当前配置设置和当前策略,然后它们才能在其可配置的角色中运行。Computers that run Lync Server 2013 services or server roles must have a copy of the current topology, current configuration settings, and current policies before they can function in their appointed role. Lync Server 负责确保将此信息传递给需要它的每台计算机。Lync Server is responsible for making sure that this information is passed along to each computer that needs it.

CsConfigurationCsConfiguration Cmdlet 用于在中央管理存储升级期间备份和还原 Lync Server 拓扑、配置设置和策略。The Export-CsConfiguration and Import-CsConfiguration cmdlets are used to back up and restore your Lync Server topology, configuration settings, and policies during a Central Management store upgrade. CsConfiguration cmdlet 使您能够将数据导出到。ZIP 文件。The Export-CsConfiguration cmdlets enable you to export data to a .ZIP file. 然后,您可以使用 CsConfiguration cmdlet 读取该。ZIP 文件,并将拓扑、配置设置和策略还原到中央管理存储。You can then use the Import-CsConfiguration cmdlet to read that .ZIP file and restore the topology, configuration settings, and policies to the Central Management store. 之后,Lync Server 的复制服务会将还原的信息复制到其他运行 Lync Server 服务的计算机。After that, the replication services of Lync Server will replicate the restored information to other computers that are running Lync Server services.

在位于外围网络中的计算机的初始配置过程中,还会使用导出和导入配置数据的功能 (例如,边缘服务器) 。The ability to export and import configuration data is also used during the initial configuration of computers that are located in your perimeter network (for example, Edge Servers). 在外围网络中配置计算机时,必须首先使用 CsConfiguration cmdlet 执行手动复制:必须使用 export-CsConfiguration 导出配置数据,然后复制。ZIP 文件到外围网络中的计算机。When configuring a computer in the perimeter network, you must first perform a manual replication using the CsConfiguration cmdlets: you must export the configuration data by using Export-CsConfiguration and then copy the .ZIP file to the computer in the perimeter network. 此后,您就可以使用 Import-CsConfiguration 和 LocalStore 参数导入该数据。After that, you can use Import-CsConfiguration and the LocalStore parameter to import the data. 您只需执行一次此操作。You only have to do this one time. 之后,将自动执行复制。After that, replication will occur automatically.

谁能运行此 cmdlet:默认情况下,以下各组的成员有权在本地运行 Export-CsConfiguration cmdlet:RTCUniversalServerAdmins。Who can run this cmdlet: By default, members of the following groups are authorized to run the Export-CsConfiguration cmdlet locally: RTCUniversalServerAdmins. 若要返回所有 RBAC 角色的列表,请将此 cmdlet 分配给 (,其中包括您自己) 创建的任何自定义 RBAC 角色,请从 Windows PowerShell 提示符处运行以下命令:To return a list of all RBAC roles, this cmdlet is assigned to (including any custom RBAC roles that you have created yourself), run the following command from the Windows PowerShell prompt:

Get-CsAdminRole | Where-Object {$_.Cmdlets -match "Export-CsConfiguration"}

应按照 sql 最佳实践来备份所有 SQL 2012 后端数据库。All SQL 2012 Back End databases should be backed up as per SQL best practices.

应在尽可能模拟生产环境的实验室环境中执行对 Lync Server 2013 基础结构的灾难恢复计划的定期测试。Regular testing of the Disaster Recovery Plan for your Lync Server 2013 infrastructure should be performed in a lab environment that mimics the production environment as closely as possible. 有关灾难恢复测试的详细信息,请参阅每月任务。Refer to the Monthly Tasks for more information about Disaster Recovery Testing.

请注意,可以根据还原点和恢复点目标调整备份频率。Note that the backup frequency can be adjusted, based on your Restore Point and Recovery Point objectives. 作为最佳实践,请在全天中定期拍摄定期快照。As a best practice, take regular, periodic snapshots throughout the day. 通常情况下,每隔24小时执行一次完整备份。Generally, you should perform full backups every 24 hours.