New-DPMProtectionGroup

New-DPMProtectionGroup

Creates a protection group on the DPM server.

Syntax

Parameter Set: Default
New-DPMProtectionGroup [[-DPMServerName] <String> ] [[-Name] <String> ] [ <CommonParameters>]

Detailed Description

The New-DPMProtectionGroup cmdlet creates a protection group on a System Center 2012 – Data Protection Manager (DPM) server. This is the first step to create a protection group. This cmdlet returns a new protection group object on which you can perform the remaining steps of creating a protection group. However, the protection group is not created until you run the Set-DPMProtectionGroup cmdlet.

Use the following cmdlets to create a new protection group. Use one or more cmdlets from each step:

1. New-DPMProtectionGroup

2. Add-DPMChildDatasource, Remove-DPMChildDatasource, Set-DPMDatasourceProtectionOption, Set-DPMProtectionJobStartTime

3. Set-DPMProtectionType

4. Set-DPMReplicaCreationMethod

5. Set-DPMPolicyObjective, Set-DPMPolicySchedule (Short term)

6. Get-DPMDatasourceDiskAllocation

7. Set-DPMDatasourceDiskAllocation

8. Set-DPMPolicyObjective, Set-DPMPolicySchedule (Long term)

9. Set-DPMTapeBackupOption

10. Set-DPMProtectionGroup

Depending on your choice in a previous step, some steps might not be applicable. For example, if you set disk-based protection in step 3, steps 8 and 9 are not required.

It is important to remember that the protection group is created only after you run the Set-DPMProtectionGroup cmdlet. Until you run Set-DPMProtectionGroup, the protection group exists only in memory.

Parameters

-DPMServerName<String>

Specifies the name of a DPM server on which this cmdlet creates a protection group. If you do not specify a name, the cmdlet uses the current computer name.

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Specifies a name for the protection group.

Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • ProtectionGroup

Examples

Example 1: Create a protection group

This command creates an instance of a protection group named ProtectGroup01 in the memory of the DPM server named DPMServer02. This is the first step of creating the protection group.

PS C:\> New-DPMProtectionGroup -DPMServerName "DPMServer02" -Name "ProtectGroup01"

Update-DPMProtectionGroup

Get-DPMProtectionGroup

Rename-DPMProtectionGroup

Set-DPMProtectionGroup