Test-DPMTapeData

Test-DPMTapeData

Verifies a data set for a recovery point.

構文

Parameter Set: Default
Test-DPMTapeData [-RecoveryPoint] <RecoverySource> [-JobStateChangedEventHandler <JobStateChangedEventHandler> ] [-RecoveryPointLocation <RecoverySourceLocation> ] [ <CommonParameters>]

詳細説明

The Test-DPMTapeData cmdlet verifies a data set for a recovery point in System Center 2012 – Data Protection Manager (DPM). A recovery point is a point-in-time copy of a replica stored on a DPM server.

パラメーター

-JobStateChangedEventHandler<JobStateChangedEventHandler>

Indicates that the cmdlet displays the status of the operation to the user.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-RecoveryPoint<RecoverySource>

Specifies a recovery point.

エイリアス

none

必須?

true

位置は?

1

既定値

none

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

-RecoveryPointLocation<RecoverySourceLocation>

Specifies the location of a recovery point. A recovery item may exist in more than one location for the same point in time, such as on a disk and tape, or on two separate tapes.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • RecoveryPoint

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

Example 1: Verify a recovery point

This example verifies a recovery point at a specified location.

The first command uses the Get-ProtectionGroup cmdlet to retrieve the protection group on the DPM server, and then stores the result in the variable named $PGroup.

The second command uses the Get-Datasource cmdlet to retrieve the data source for the protection group, and then stores the result in the variable named $DSource.

The third command uses the Get-RecoveryPoint cmdlet to retrieve the recovery point for the data source, and then stores the result in the variable named $RPoint.

The fourth command uses the Get-RecoveryPointLocation cmdlet to retrieve the recovery point location, and then stores the result in the variable named $RS1.

The fifth command uses the Test-DPMTapeData cmdlet to verify a data set for the second recovery point.

PS C:\> $PGroup = Get-ProtectionGroup -DPMServerName "Contoso-DPMServer"
PS C:\> $DSource = Get-Datasource -ProtectionGroup $PGroup
PS C:\> $RPoint = Get-RecoveryPoint -Datasource $DSource
PS C:\> $RS1 = Get-RecoveryPointLocation -RecoveryPoint $RPoint[1]
PS C:\> Test-DPMTapeData -RecoveryPoint $RPoint[1] -RecoveryPointLocation $RS1

関連トピック

Copy-DPMTapeData