在 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.

Export-CsConfigurationImport-CsConfiguration 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. Export-CsConfiguration Cmdlet 可讓您將資料匯出至。ZIP 檔案。The Export-CsConfiguration cmdlets enable you to export data to a .ZIP file. 然後,您可以使用 Import-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.

在周邊網路中的電腦初始設定時,也會使用匯出及匯入設定資料的功能 (例如,Edge Servers) 。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 2012 後端資料庫應該依照每個 sql 的最佳作法來備份。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.