在 Lync Server 2013 中還原 Standard Edition serverRestoring a Standard Edition server in Lync Server 2013

 

主題上次修改日期: 2013-02-21Topic Last Modified: 2013-02-21

若未裝載中央管理存放區的 Standard Edition 伺服器失敗,請遵循本節中的程式。If a Standard Edition server that does not host the Central Management store fails, follow the procedures in this section. 若中央管理存放區失敗,請參閱 在 Lync server 2013 中還原主控中央管理存放區的伺服器If the Central Management store fails, see Restoring the server hosting the Central Management store in Lync Server 2013.

提示

建議您先取得系統的影像複本,再開始還原。We recommend that you take an image copy of the system before you start restoration. 您可以使用這個影像做為復原點,以防還原期間發生問題。You can use this image as a rollback point, in case something goes wrong during restoration. 您可以在安裝作業系統及 SQL Server 之後擷取影像複本,然後再還原或重新註冊憑證。You might want to take the image copy after you install the operating system and SQL Server, and restore or re-enroll the certificates.

還原 Standard Edition serverTo restore a Standard Edition server

  1. 從具有相同完整功能變數名稱 (FQDN) 與失敗電腦相同的全新伺服器開始,安裝作業系統,然後還原或重新註冊憑證。Start with a clean or new server that has the same fully qualified domain name (FQDN) as the failed computer, install the operating system, and then restore or reenroll the certificates.

    注意

    遵循貴組織的伺服器部署程序執行此步驟。Follow your organization's server deployment procedures to perform this step.

  2. 從屬於 RTCUniversalServerAdmins 群組和本機 Administrators 群組成員的使用者帳戶,登入您要還原的伺服器。From a user account that is a member of the RTCUniversalServerAdmins group and the Local Administrators group, log on to the server that you are restoring.

  3. 將適當的檔案存放區從 $Backup 複製到伺服器上的檔案存放區位置,然後共用資料夾,以還原檔案存放區。Restore the File Store by copying the appropriate File Store from $Backup to the File Store location on the server and share the folder.

    重要

    還原的檔案存放區的路徑和檔案名應該與備份的檔案存放區完全相同,以便使用該檔案的元件可以存取這些檔案。The path and file name for the restored File Store should be exactly the same as the backed up File Store so that components that use the files can access them.

  4. 執行拓撲產生器:Run Topology Builder:

    1. 啟動拓撲產生器:依序按一下 [ 開始]、[ 所有程式]、[ Microsoft Lync server 2013],然後按一下 [ Lync server 拓撲產生器]。Start Topology Builder: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Topology Builder.

    2. 按一下 [從現有部署下載拓撲]****,然後按一下 [確定]****。Click Download Topology from existing deployment, and then click OK.

    3. 選取拓撲,然後按一下 [儲存]****。按一下 [是]**** 確定您的選擇。Select the topology, and then click Save. Click Yes to confirm your selection.

  5. 流覽至 [Lync Server 安裝] 資料夾或媒體,然後啟動位於 \ setup amd64Setup.exe 的 Lync Server 部署 \ 嚮導 \ 。Browse to the Lync Server installation folder or media, and then start the Lync Server Deployment Wizard located at \setup\amd64\Setup.exe. 使用 Lync Server 部署嚮導執行下列作業:Use the Lync Server Deployment Wizard to do the following:

    1. 執行 [步驟 1: 安裝本機組態存放區]****,以安裝本機設定檔。Run Step 1: Install Local Configuration Store to install the local configuration files.

    2. 執行 步驟2:安裝或移除 Lync Server 元件 ,以安裝 lync server 伺服器角色。Run Step 2: Setup or Remove Lync Server Components to install the Lync Server server roles.

    3. 執行 [步驟 3: 要求、安裝或指派憑證]****,以指派憑證。Run Step 3: Request, Install or Assign Certificates to assign the certificates.

    4. 執行 [步驟 4: 啟動服務]****,以啟動伺服器上的服務。Run Step 4: Start Services to start services on the server.

    如需執行 [部署精靈] 的詳細資料,請參閱您要還原之伺服器角色的<部署>文件。For details about running the Deployment Wizard, see the Deployment documentation for the server role you are restoring.

  6. 執行下列動作還原使用者資料:Restore user data by performing the following:

    1. 將 ExportedUserData.zip 從 $Backup 複製 \ 到本機目錄。Copy ExportedUserData.zip from $Backup\ to a local directory.

    2. 在您還原使用者資料之前,您必須停止 Lync 服務。Before you restore the user data, you must stop Lync services. 若要這麼做,請輸入:To do so, type:

      Stop-CsWindowsService
      
    3. 若要還原使用者資料,請在命令列上輸入:To restore the user data, at the command line, type:

      Import-CsUserData -PoolFqdn <Fqdn> -FileName <String>
      

      例如:For example:

      Import-CsUserData -PoolFqdn "atl0cs-001.litwareinc.com" -FileName "C:\Logs\ExportedUserDatal.zip"
      
    4. 輸入下列命令以重新開機 Lync 服務:Restart Lync services by typing:

      Start-CsWindowsService
      
  7. 如果您已在此 Standard Edition server 上部署回應群組,請還原回應群組設定資料。If you deployed Response Group on this Standard Edition server, restore the Response Group configuration data. 如需詳細資訊,請參閱 在 Lync Server 2013 中還原回應群組設定For details, see Restoring Response Group settings in Lync Server 2013.

  8. 如果您已在此 Standard Edition server 上部署持續性聊天,請還原 Persistent Chat database (mgc) 。If you deployed Persistent Chat on this Standard Edition server, restore the Persistent Chat database (mgc.mdf).

    如果您使用 SQL Server 備份來備份 Persistent 聊天資料庫,請使用 SQL Server 還原程式還原。If you used SQL Server Backup to back up the Persistent Chat database, use SQL Server restore procedures to restore it.

    如果您使用 Export-CsPersistentChatData Cmdlet 來備份它,請使用 Import-CsPersistentChatData 還原該指令。If you used the Export-CsPersistentChatData cmdlet to back it up, use the Import-CsPersistentChatData to restore it.