Export (0) Print
Expand All

Creating a DPM Role

Updated: July 16, 2010

Applies To: System Center Data Protection Manager 2010

System Center Data Protection Manager (DPM) 2010 includes the DPM Self-Service Recovery Configuration Tool for SQL Server (SSRCT). You can use this tool to create DPM roles, which enable SQL Server database owners to recover their databases without the need for intervention by a DPM administrator. You can configure a DPM role to control which protected databases users can recover and to which instances of SQL Server users can recover databases. Users can recover a database by using the DPM Self-Service Recovery Tool (SSRT) for SQL Server. For more information about the SSRT, see DPM 2010 Self-Service Recovery Tool.

You can also use cmdlets in DPM Management Shell to create DPM roles.

To create a DPM role, you must specify the following settings:

  • Security groups: One or more security groups that contain the users for whom you want to enable self-service recovery of SQL Server databases.

  • Recovery items: Instances of SQL Server and SQL Server databases that are currently protected by DPM for which you want to enable self-service recovery by users.

  • Recovery targets: Instances of SQL Server that users can use as targeted locations to recover databases during self-service recovery.

To create a DPM role by using the DPM Self-Service Recovery Configuration Tool

  1. In DPM Administrator Console, click the Protection tab, and then, in the Actions pane, click Configure self service recovery for SQL Server.

    The DPM Self-Service Recovery Configuration Tool for SQL Server opens.

  2. To create a new DPM role, click Create Role.

  3. The Create New Role Wizard opens and guides you through the following pages to create a DPM role:

    1. Getting Started

    2. Specify Security Groups

    3. Specify Recovery Items

    4. Specify Recovery Target Locations

    5. Summary

To create a DPM role by using DPM Management Shell cmdlets

  1. Create a DPM role.

    ImportantImportant
    To create a DPM role, all of the following commands must be run in the following order.

    New-DPMRole -Name <NewDMPRoleName> -DPMServerName <DPMServerName> [-Description <DPMRoleDescription>] [<CommonParameters>]
    
  2. Specify the individual users or security groups that contain the users for whom you want to enable self-service recovery of SQL Server databases.

    Add-DPMSecurityGroup -SecurityGroups <SecurityGroupsToAddToDPMRole> -DpmRole <DPMRoleName> [<CommonParameters>]
    
    noteNote
    Specified users can recover their SQL Server databases regardless of the database permissions configured on the instances of SQL Server.

  3. Specify the instances of SQL Server and SQL Server databases that are currently protected by DPM for which you want to enable self-service recovery by users.

    Add-DPMRecoveryItem -Datasources <SQLServerDatabaseName> -Type SQLDatabase -DpmRole <DPMRoleName> [<CommonParameters>]
    

    -Or-

    Add-DPMRecoveryItem -SQLInstances <SQLDataSource> -Type SQLInstance -DpmRole <DPMRole> [<CommonParameters>]
    
  4. Identify and add the instances of SQL Server that users can use as targeted locations to recover databases during self-service recovery.

    1. Create a recovery target object.

      New-DPMRecoveryTarget -Type SQLInstance or SQLDatabase -RecoveryTarget <ComputerName\InstanceName> -RecoveredFilesPath <FilePath> [<CommonParameters>]
      
    2. Add the recovery target object to the role.

      Add-DPMRecoveryTarget -DpmRole <DMPRoleName> -RecoveryTargets <TargetRecoveryTargetName> [<CommonParameters>]
      
  5. Save the new DPM role.

    Set-DPMRole -DpmRole <DMPRoleName> -Confirm [<CommonParameters>]
    

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft