Get-DPMTapeBackupOption
Retrieves library, drive, and other backup or archive options for a protection group.
Syntax
Get-DPMTapeBackupOption
[-ProtectionGroup] <ProtectionGroup>
[<CommonParameters>]
Description
The Get-DPMTapeBackupOption cmdlet retrieves library, drive, and other backup or archive options for a System Center - Data Protection Manager (DPM) protection group.
Examples
Example 1: Retrieve tape backup options
PS C:\>$PGroup = Get-DPMProtectionGroup -DPMServerName "Contoso-DPMServer"
PS C:\> Get-DPMTapeBackupOption -ProtectionGroup $PGroup
The first command uses the Get-DPMProtectionGroup cmdlet to get the protection group for the server named Contoso-DPMServer. The command stores the group in the $PGroup variable.
The second command gets the settings for the group in $PGroup.
Parameters
-ProtectionGroup
Specifies a protection group for which this cmdlet gets options. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet. A protection group consists of data sources, such as volumes or shares, that have a common protection configuration and schedule.
Type: | ProtectionGroup |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Outputs
ProtectionGroup