New-DPMProtectionGroup
Creates a protection group on the DPM server.
Syntax
New-DPMProtectionGroup
[[-DPMServerName] <String>]
[[-Name] <String>]
[<CommonParameters>]
Description
The New-DPMProtectionGroup cmdlet creates a protection group on a System Center - 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.
Examples
Example 1: Create a protection group
PS C:\>New-DPMProtectionGroup -DPMServerName "DPMServer02" -Name "ProtectGroup01"
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.
Parameters
-DPMServerName
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.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies a name for the protection group.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
ProtectionGroup