Get-DPMRecoveryPoint
Get-DPMRecoveryPoint
Gets recovery points for a data source.
構文
Parameter Set: Datasource
Get-DPMRecoveryPoint [-Datasource] <Datasource> [-Async] [-Online] [-OnlyActive] [ <CommonParameters>]
Parameter Set: Tape
Get-DPMRecoveryPoint [-Tape] <Media> [ <CommonParameters>]
詳細説明
The Get-DPMRecoveryPoint cmdlet gets all available recovery points for a data source.
パラメーター
-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.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
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.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-Online
Specifies that DPM enables online protection.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-OnlyActive
Indicates that this cmdlet returns only recovery points that have not expired.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Tape<Media>
Specifies a tape object.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
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 Get-DPMRecoveryPoint -detailed
".
例
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 $PgPS C:\> Get-DPMRecoveryPoint -Datasource $Ds