Lync Server 2013 备份和还原的最佳实践Best practices for backup and restoration for Lync Server 2013


上次修改的主题: 2013-02-21Topic Last Modified: 2013-02-21

本节包括两种类型的最佳实践:This section includes two types of best practices:

  • 备份和还原的最佳实践。Best practices for backup and restoration.

  • 最大程度降低灾难影响的最佳做法。Best practices for minimizing the impact of a disaster.

备份和还原最佳做法Best Practices for Backup and Restoration

为了便于执行备份和还原过程,请在备份或还原数据时应用以下最佳做法:To facilitate your backup and restoration process, apply the following best practices when you back up or restore your data:

  • 按适当的时间间隔执行定期备份。Perform regular backups at appropriate intervals. 最简单、最常用的备份类型和轮换计划是整个 SQL Server 数据库的夜间完整备份。The simplest and most commonly used backup type and rotation schedule is a full, nightly backup of the entire SQL Server database. 然后,如果需要还原,则还原过程只需要一个备份,且不会丢失超过一天的数据。Then, if restoration is necessary, the restoration process requires only one backup, and no more than a day’s data should be lost.

  • 如果您使用 cmdlet 或 Lync Server 控制面板进行配置更改,请使用 CsConfiguration cmdlet 对拓扑配置文件进行快照备份,以在进行更改后 (Xds) ,这样,如果需要还原数据库,则不会丢失所做的更改。If you use cmdlets or the Lync Server Control Panel to make configuration changes, use the Export-CsConfiguration cmdlet to take a snapshot backup of the topology configuration file (Xds.mdf) after you make the changes, so that you won't lose the changes if you need to restore your databases. 请注意,将以 XML 格式备份此配置并将其压缩为 ZIP 文件。Note that this configuration is backed up in XML format and compressed as a ZIP file.

  • 请确保计划用于备份 Lync Server 的共享文件夹有足够的磁盘空间来容纳所有备份的数据。Make sure that the shared folder you plan to use for backing up Lync Server has sufficient disk space to hold all the backed up data.

  • 在 Lync Server 使用率通常较低时安排备份,以改善服务器性能和用户体验。Schedule backups when Lync Server usage is typically low, to improve server performance and user experience.

  • 请确保备份数据的位置是安全的 (我们建议远程位置) 。Make sure that the location where you back up data is secure (we recommend a remote location).

  • 将备份文件保留在其中,以便在需要还原数据时使用。Keep the backup files where they will be available, in case you need to restore the data.

  • 规划和安排对组织支持的还原过程的定期测试。Plan for and schedule periodic testing of the restoration processes that are supported by your organization.

  • 提前验证备份和还原过程以确保它们按预期工作。Validate your backup and restoration processes in advance to make sure that they work as expected.

最大程度降低灾难影响的最佳做法Best Practices for Minimizing the Impact of a Disaster

处理灾难性服务中断的最佳策略 (由无法管理的事件(如断电或突然硬件故障)造成的) 是假设它们会发生,并相应地进行规划。The best strategy for dealing with disastrous service interruptions (caused by unmanageable events such as power outages or sudden hardware failures) is to assume they will happen, and to plan accordingly.

如果至少中断和停机的 Lync 服务对您的组织至关重要,应考虑实施前端服务器的配对池,如在 Lync Server 2013 中规划高可用性和灾难恢复中所述。If Lync services, with a minimum of disruption and outage, are business-critical for your organization, you should consider implementing paired pools of Front End Servers, as described in Planning for high availability and disaster recovery in Lync Server 2013. 然后,如果其中一个池发生灾难,管理员可以将该池的用户切换为由另一个池提供服务,最少停机时间。Then, if one of these pools has a disaster, an administrator can switch the users of that pool to be served by the other pool, with a minimum of downtime.

作为备份和还原策略的一部分开发的灾难管理计划应包括以下各项:The disaster management plans that you develop as part of your backup and restoration strategy should include the following:

  • 保持软件媒体以及软件和固件更新可随时使用。Keeping your software media, and your software and firmware updates, readily available.

  • 维护硬件和软件记录。Maintaining hardware and software records.

  • 定期备份数据并监视备份的完整性。Backing up your data regularly and monitoring the integrity of your backups.

  • 在灾难恢复中培训你的员工,记录过程,并实施灾难恢复模拟训练。Training your staff in disaster recovery, documenting procedures, and implementing disaster recovery simulation drills.

  • 如果有服务级别协议 (SLA) ,请与硬件供应商和供应商签订以进行提示替换,以保持备用硬件的可用性。Keeping spare hardware available, or, if you have a service level agreement (SLA), contracting with hardware vendors and suppliers for prompt replacements.

  • ( .ldf 文件中的事务日志文件的位置分开) 和数据库文件) ( .mdf 文件。Separating the location of your transaction log files (.ldf files) and database files (.mdf files).