Get-DPMRecoveryPoint

Get-DPMRecoveryPoint

Gets recovery points for a data source.

Syntax

Parameter Set: Datasource
Get-DPMRecoveryPoint [-Datasource] <Datasource> [-Async] [-Online] [ <CommonParameters>]

Parameter Set: Tape
Get-DPMRecoveryPoint [-Tape] <Media> [ <CommonParameters>]

Detailed Description

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

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Datasource<Datasource>

Specifies an array of data source objects. Data source objects include the following:

-- Windows file system share or volume.
-- Microsoft SQL Server database.
-- Microsoft Exchange storage group.
-- Microsoft SharePoint farm.
-- Microsoft Virtual Machine.
-- DPM database.
-- A system state that is a member of a protection group.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-Online

Specifies that DPM enables online protection.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Tape<Media>

Specifies a tape object.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

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

Outputs

The output type is the type of the objects that the cmdlet emits.

  • RecoveryPoint

Notes

  • For more information, type "Get-Help Get-DPMRecoveryPoint -detailed".

Examples

Example 1: Get a recovery point

This example gets the recovery point for a data source.

The first command gets the protection group on the DPM server named DPMServer02 and store the results in the $Pg variable.

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

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

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

Get-DPMProtectionGroup

Get-DPMDatasource

New-DPMRecoveryPoint

Remove-DPMRecoveryPoint

Get-DPMRecoveryPointLocation