Get-DPMRecoveryPoint

Gets recovery points for a data source.

Syntax

Get-DPMRecoveryPoint
   [-Datasource] <Datasource>
   [-Async]
   [-Online]
   [-OnlyActive]
   [<CommonParameters>]
Get-DPMRecoveryPoint
   [-Tape] <Media>
   [<CommonParameters>]

Description

The Get-DPMRecoveryPoint cmdlet gets all available recovery points for a data source.

Examples

Example 1: Get a recovery point

PS C:\> $PGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> $PObjects = Get-DPMDatasource -ProtectionGroup $PGroup
PS C:\> Get-DPMRecoveryPoint -Datasource $PObjects

The first command gets the protection group on the DPM server named DPMServer02, and then stores the results in the $PGroup variable.

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

The third command gets the recovery point for the data source stored in $PObjects.

Parameters

-Async

Indicates that the command runs asynchronously. When you run a command asynchronously, the command prompt returns immediately even if the job takes an extended time to finish.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Datasource

Specifies a data source object for which this cmdlet gets recovery points. A data source can be a file system share or volume for the Windows operating system, Microsoft SQL Server database, Microsoft Exchange Server storage group, Microsoft SharePoint farm, Microsoft Virtual Machine, System Center 2019 - Data Protection Manager (DPM) database, or system state that is a member of a protection group.

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

-Online

Specifies that DPM enables online protection.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-OnlyActive

Indicates that this cmdlet returns only recovery points that have not expired.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Tape

Specifies a tape from which this cmdlet gets recovery points. To obtain a Tape object, use the Get-DPMTape cmdlet.

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

Outputs

RecoveryPoint