Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

Restoring Response Group Settings

 

Topic Last Modified: 2012-10-18

If you deployed the Response Group application and you need to restore a Back End Server or a Standard Edition server, you also need to restore the Response Group configuration settings.

To restore Response Group configuration settings, you run the RgsImportExport.ps1 script. However, because Response Group contact objects reside in Active Directory Domain Services (AD DS), the script fails unless you first delete the contact objects from AD DS. Before you run the RgsImportExport.ps1 to restore the settings, you need to run another script to list the Response Group contact objects in AD DS and then delete them. The following procedure describes how to obtain and run the script, and then restore the Response Group settings.

  1. From a user account that is a member of the RTCUniversalServerAdmins group, log on to the server you are restoring.

  2. Copy the Get-CsApplicationContact.ps1 script, located in the Lync Server Windows PowerShell blog at http://go.microsoft.com/fwlink/p/?LinkId=210869, and then paste it into a text editor, such as Notepad or a Windows PowerShell editor. Save the script as Get-CsApplicationContact.ps1 on the server.

    noteNote:
    You need to run this script locally.
  3. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.

  4. Navigate to the folder where you saved the script, and at the command line, type:

    Import-Module .\Get-CsApplicationContact.ps1
    
  5. To retrieve the list of Response Group contact objects associated with the pool, at the command line, type:

    Get-CsApplicationContact -OwnerUrn "urn:application:Rgs" -Filter "(MSRTCSIP-ApplicationOptions=1)" -RegistrarPool <pool FQDN>
    

    For example:

    Get-CsApplicationContact -OwnerUrn "urn:application:Rgs" -Filter "(MSRTCSIP-ApplicationOptions=1)" -RegistrarPool "pool01.contoso.com"
    
  6. Review the output of the Get-CsApplicationContact script to verify that the contact objects listed are the ones you want to remove. To remove the contact objects, at the command line, type:

    Get-CsApplicationContact -OwnerUrn "urn:application:Rgs" -Filter "(MSRTCSIP-ApplicationOptions=1)" -RegistrarPool <pool FQDN> -Delete
    
    noteNote:
    You are prompted to confirm the deletion of each contact object, and you can skip any contact objects that you do not want to delete.
  7. To restore the configuration settings, do the following:

    1. If you have not already done so, 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.
    2. At the command line, navigate to the folder where you saved the script, and type:
      Import-Module .\RgsImportExport.ps1
      Import-CsRgsConfiguration <service:poolFQDN> -FileName <path and file name of the backed up file at $Backup>
      
      For example:
      Import-Module .\RgsImportExport.ps1
      Import-CsRgsConfiguration ApplicationServer:pool01.contoso.com -FileName D:\RgsConfig.zip -Verbose
      
 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.