New-ProtectionGroup

New-ProtectionGroup

Creates a new protection group on the DPM server.

Syntax

New-ProtectionGroup [-DPMServerName] <String> [[-Name] <String>] [<CommonParameters>]

Detailed Description

The New-ProtectionGroup cmdlet creates a new protection group on the specified DPM server.
This is the first step towards creating a new protection group. This cmdlet returns a new protection group object on which you can perform the remaining steps required for creating a protection group. However, the protection group is not actually created until you run the Set-ProtectionGroup cmdlet.

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

1. New-ProtectionGroup

2. Add-ChildDatasource, Remove-ChildDatasource, Set-DatasourceProtectionOption, Set-ProtectionJobStartTime

3. Set-ProtectionType

4. Set-ReplicaCreationMethod

5. Set-PolicyObjective, Set-PolicySchedule (Short term)

6. Get-DatasourceDiskAllocation

7. Set-DatasourceDiskAllocation

8. Set-PolicyObjective, Set-PolicySchedule (Long term)

9. Set-TapeBackupOption

10. Set-ProtectionGroup

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-ProtectionGroup cmdlet, and until then the protection group exists only in the memory.

Parameters

-DPMServerName

The name of a DPM server.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

0

-Name

The name of a protection group.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

1

-CommonParameter

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.

Input and Return Types

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

Notes

  • For more information, type "Get-Help New-ProtectionGroup -detailed".
    For technical information, type "Get-Help New-ProtectionGroup -full".

    Additionally, any updated information about the cmdlet will be available at http://go.microsoft.com/fwlink/?LinkId=95130.

Examples

EXAMPLE 1

New-ProtectionGroup -DPMServerName "TestingServer" -Name "Trial PG"

This command creates an instance of a protection group named TrialPG in the memory of TestingServer. This is the first step in the creation of the protection group.