Get-DPMRecoveryPointLocation

Gets the location of a recovery point.

Syntax

Get-DPMRecoveryPointLocation
   [-RecoveryPoint] <RecoverySource>
   [<CommonParameters>]

Description

The Get-DPMRecoveryPointLocation cmdlet gets the location of a recovery point. This cmdlet returns an object that indicates whether the recovery point is located on disk or tape. If the recovery point is on tape, the cmdlet returns information about the tape.

Examples

Example 1: Get a recovery point location

PS C:\>$PGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> $PObject = Get-DPMDatasource -ProtectionGroup $PGroup
PS C:\> $RPoint = Get-DPMRecoveryPoint -Datasource $PObject
PS C:\> Get-DPMRecoveryPointLocation -RecoveryPoint $RPoint

The first command gets the protection group on the System Center 2019 - Data Protection Manager (DPM) server named DPMServer02. The command stores the protection group in the $PGroup variable.

The second command gets the list of protected and unprotected data in the protection group in $PGroup. The command stores the results in the $PObject variable.

The third command gets the recovery point for the data source in $DSource, and then stores the recovery point in the $RPoint variable.

The fourth command gets the location for the recovery point in $RPoint.

Parameters

-RecoveryPoint

Specifies a recovery point for which this cmdlet gets the location. To obtain a recovery point location object, use the Get-DPMRecoveryPoint cmdlet.

Type:RecoverySource
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Outputs

RecoveryPointLocation