Restoring an Enterprise Edition Back End Server in Lync Server 2013
Topic Last Modified: 2013-02-18
Use the procedure described in this topic in the following two cases:
Both the primary and mirror databases of a mirrored Enterprise Edition Back End Server fail.
An Enterprise Edition Back End Server that is not mirrored fails.
If you have a mirrored Enterprise Edition Back End and only the mirror or primary database fails, see Restoring a mirrored Enterprise Edition Back End Server in Lync Server 2013 - primary for restoring the primary database, and Restoring a mirrored Enterprise Edition Back End Server in Lync Server 2013 - mirror for restoring the mirror.
If the Central Management store fails, see Restoring the server hosting the Central Management store in Lync Server 2013. If an Enterprise Edition member server that is not the Back End Server fails, see Restoring an Enterprise Edition member server in Lync Server 2013.
Tip
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. You might want to take the image copy after you install the operating system and SQL Server, and restore or reenroll the certificates.
To restore an Enterprise Edition Back End Server
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.
Note
Follow your organization's server deployment procedures to perform this step.
From a user account that is a member of the RTCUniversalServerAdmins group, log on to the server that you are restoring.
Install SQL Server 2012 or SQL Server 2008 R2, keeping the instance names the same as before the failure.
Note
Depending on your deployment, the Back End Server might include multiple collocated or separate databases. Follow the same procedure to install SQL Server that you used originally to deploy the server, including SQL Server permissions and logins.
After you install SQL Server, perform the following:
Start Topology Builder: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Topology Builder.
Click Download Topology from existing deployment, and then click OK.
Select the topology, and then click Save. Click Yes to confirm your selection.
Right-click the Lync Server 2013 node, and then click Publish Topology.
Follow the Publish the Topology wizard. On the Create databases page, select the databases that you want to re-create.
Note
Only stand-alone databases are displayed on the Create databases page.
If you are restoring a Back End that was mirrored, continue to follow the rest of the wizard until the prompt Create Mirror Database appears. Select the database that you want to install, and complete the process.
Follow the rest of the wizard, and then click Finish.
Tip
Instead of running Topology Builder, you can use the Install-CsDatabase cmdlet to create each database, and the Install-CsMirrorDatabase cmdlet to configure mirroring. For details, see the Lync Server Management Shell documentation.
Restore user data by performing the following:
Copy ExportedUserData.zip from $Backup\ to a local directory.
Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Management Shell.
Before you restore the user data, you must stop Lync services. To do so, type:
Stop-CsWindowsService
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"
Restart Lync Services by typing:
Start-CsWindowsService
If you deployed Response Group on this pool, restore the Response Group configuration data. For details, see Restoring Response Group settings in Lync Server 2013.
If you are restoring a Back End Server that included Archiving or Monitoring databases, restore the Archiving or Monitoring data by using a SQL Server tool, such as SQL Server Management Studio. For details, see Restoring monitoring or archiving data in Lync Server 2013.