Topic Last Modified: 2011-05-13
The procedures in this section use Lync Server Management Shell cmdlets and Dbimpexp.exe to create backup files for settings and data for core services. For details about the tools used in this section, including where they are located, see Backup and Restoration Requirements: Tools and Permissions. For details about backing up Archiving and Monitoring data, see Backing Up Archiving and Monitoring Databases.
Note: |
---|
The step in this section to back up the Central Management store includes the settings and configuration for Archiving and Monitoring. |
You can run the cmdlets described in this section locally or remotely.
To back up core data and settings
-
From a user account that is a member of the RTCUniversalServerAdmins group, log on to any computer in your internal deployment.
-
To store the backups you create in the following steps, create a new shared folder and update the path referenced by $Backup to the new shared folder.
-
Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.
-
Back up the Central Management store configuration file. At the command line, type the following:
Copy Code Export-CsConfiguration -FileName <path and file name for backup>
For example:
Copy Code Export-CsConfiguration -FileName "C:\Config.zip"
Note: This step exports your Lync Server 2010 topology, policies, and configuration settings to a file. No other step is required to backup topology data. -
Copy the backed up Central Management store configuration file to $Backup\.
-
Back up Location Information service data. At the command line, type the following:
Copy Code Export-CsLisConfiguration -FileName <path and file name for backup>
For example:
Copy Code Export-CsLisConfiguration -FileName "C:\E911Config.zip"
-
Copy the backed up Location Information service configuration file to $Backup\.
-
Back up user data on every back-end database of a Front End pool and every Standard Edition server. At the command line, type the following:
Copy Code Dbimpexp.exe /hrxmlfile:<path and backup file name> /sqlserver:<SQL Server FQDN>\<instance name>
For example:
Copy Code Dbimpexp.exe /hrxmlfile:D:\BackupUser.xml /sqlserver:sql.contoso.com\rtc
-
Copy the backed up user file to $Backup\.
-
On every pool that runs the Response Group application, back up the Response Group configuration. Do the following:
- Install the Lync Server 2010 Resource Kit tools to save the
RgsImportExport.ps1 script on the computer. For details, see
Backup and
Restoration Requirements: Tools and Permissions.
- At the command line, navigate to the folder where you saved the
script, and type:
Copy Code Import-Module .\RgsImportExport.ps1 Export-CsRgsConfiguration <service:poolFQDN> -FileName <path and file name for backup>
Copy Code Import-Module .\RgsImportExport.ps1 Export-CsRgsConfiguration ApplicationServer:pool01.contoso.com -FileName D:\RgsConfig.zip
- Install the Lync Server 2010 Resource Kit tools to save the
RgsImportExport.ps1 script on the computer. For details, see
Backup and
Restoration Requirements: Tools and Permissions.
-
Copy the backed up Response Group configuration file to $Backup\.