Start-DPMCloudRecatalog
Start-DPMCloudRecatalog
Recatalogs a cloud recovery point.
構文
Parameter Set: Default
Start-DPMCloudRecatalog [-RecoverableItem] <RecoverableObject[]> [-AdhocJobsContext <AdhocJobsContext> ] [-JobStateChangedEventHandler <JobStateChangedEventHandler> ] [-RecoveryNotification <NotificationObject]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Start-DPMCloudRecatalog cmdlet starts to recatalog a point in time version of a System Center 2012 – Data Protection Manager (DPM) cloud recovery point.
パラメーター
-AdhocJobsContext<AdhocJobsContext>
Specifies the context details of the ad hoc job. Do not use this parameter from the Windows PowerShell command line.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-JobStateChangedEventHandler<JobStateChangedEventHandler>
Indicates that the cmdlet displays the status of the operation. Use this parameter together with the Async parameter to build a GUI by using cmdlets. Do not use this parameter if you are working with the DPM Management Shell.
エイリアス |
Handler |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-RecoverableItem<RecoverableObject[]>
Specifies a recoverable item object. This is a child item in a recovery point that is recoverable. For example, a Windows file system share or volume, a Microsoft SQL Server database, a Microsoft Exchange storage group, Microsoft SharePoint, Microsoft Virtual Machine, a Microsoft DPM database, system state, or a recovery point.
エイリアス |
none |
必須? |
true |
位置は? |
2 |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-RecoveryNotification<NotificationObject]>
Specifies a notification to send when recovery is finished. You can use the New-DPMRecoveryNotification cmdlet to create a notification object.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Recatalog a version of a cloud recovery point
The first command gets a protection group by using the Get-DPMProtectionGroup cmdlet. That cmdlet gets all protection groups, and then passes them to the Where-Object cmdlet by using the pipeline operator. That cmdlet drops all groups that do not match its criteria. For more information, type Get-Help Where-Object
.
The command then passes the protection group to the Get-DPMDatasource cmdlet, which gets the data sources for that protection group.
The command then passes the data source to the Get-DPMRecoveryPoint cmdlet, which gets all available recovery points for the data source. The command stores the recovery points in the $RecoveryPoints variable.
The second command starts to recatalog the version of a cloud recovery point stored in position one (1) of $RecoveryPoints.
PS C:\> $RecoveryPoints = Get-DPMProtectionGroup | Where {$_.Name -like "ProtectionGroup06"} | Get-DPMDatasource | Get-DPMRecoveryPoint -Online
PS C:\> Start-CloudRecatalog -RecoverableItem $RecoveryPoints[1]