Start-WBApplicationRecovery

Start-WBApplicationRecovery

Starts an application recovery operation.

構文

Parameter Set: Default
Start-WBApplicationRecovery [-BackupSet] <WBBackupSet> [-ApplicationInBackup] <WBApplication> [[-RecoveryTarget] <String> ] [[-NoRollForward]] [[-Async]] [[-Force]] [ <CommonParameters>]

詳細説明

The Start-WBApplicationRecovery cmdlet starts an application recovery operation. To perform application recovery, you must specify the backup set from which to recover the application and the application to recover. The application to recover must exist in the application array for the backup set specified. If you do not specify a recovery target, the operation recovers the application to the application's original location.

パラメーター

-ApplicationInBackup<WBApplication>

Specifies an application object that contains the application to recover. This application must exist in the backup set's application array.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

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

True (ByValue)

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

false

-Async

Indicates that Windows PowerShell returns immediately after starting the backup without displaying status messages to the console.

エイリアス

なし

必須?

false

位置は?

5

既定値

なし

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

false

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

false

-BackupSet<WBBackupSet>

Specifies a backup set object that contains the backup set from which to recover the application.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

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

True (ByValue)

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

false

-Force

Starts the application recovery operation without prompting you for confirmation. By default, the cmdlet prompts you for confirmation before it proceeds.

エイリアス

なし

必須?

false

位置は?

6

既定値

なし

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

false

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

false

-NoRollForward

Indicates that you can recover applications from a previous point in time if you select the latest version of the application from the backups. For versions of the application other than the latest version, the operation uses point-in-time recovery by default.

エイリアス

なし

必須?

false

位置は?

4

既定値

False

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

false

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

false

-RecoveryTarget<String>

Specifies the path to which the recovery operation recovers the application.

エイリアス

なし

必須?

false

位置は?

3

既定値

なし

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

false

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

false

<CommonParameters>

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

入力

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

  • WBBackupSet, WBApplication

出力

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

  • System.String

    If you do not specify the Async parameter, the recovery operation displays status messages at periodic intervals until the recovery is complete. While the recovery operation is running, you can use the Get-WBJob cmdlet to get the status of the operation. After the operation is complete you can use the Get-WBJob -Previous 1 command to get the completed recovery status.

Example 1: Start an application recovery operation

This example recovers an application to a file path.

The first command gets the backup object from the system catalog and stores it in the variable named $Backup.

The second command starts the recovery by specifying $Backup as the backup set, and specifying the first element of the application array within the backup set. The first element of the application array is the registry.

PS C:\> $Backup = Get-WBBackupSet
PS C:\> Start-WBApplicationRecovery -BackupSet $Backup -ApplicationInBackup $Backup.Application[0] -RecoveryTarget F:\

関連トピック

Get-WBBackupSet