Add-WBBareMetalRecovery

Add-WBBareMetalRecovery

Adds items to a backup policy so that backups that use the policy can perform bare metal recoveries.

構文

Parameter Set: Default
Add-WBBareMetalRecovery [-Policy] <WBPolicy> [ <CommonParameters>]

詳細説明

The Add-WBBareMetalRecovery cmdlet adds items to a backup policy object so that backups that use that policy can perform bare metal recoveries. A bare metal recovery is the process of rebuilding a computer after a catastrophic failure. The recovery process backs up the system volume and master boot record by copying the entire volume and using Volume Shadow Copy Service (VSS) writers to ensure that all applications are in a consistent state for the copy. For more information about bare metal recovery, see Backup for Bare Metal Recovery (https://technet.microsoft.com/en-us/library/bb795820.aspx) on TechNet.

If you add the ability to perform a bare metal recovery to a policy, you also add the ability to perform a system state recovery. This is true even though the SystemState property of the bare metal recovery policy has a value of False.

Before you can add a backup target to a WBPolicy object, you must put the WBPolicy object in edit mode. To put the WBPolicy object in edit mode for a policy that you have set as the scheduled backup policy, use the Get-WBPolicy cmdlet with the Editable parameter. The New-WBPolicy cmdlet creates a new WBPolicy object that is already in edit mode.

To use this cmdlet, you must be a member of the Administrators group or Backup Operators group.

パラメーター

-Policy<WBPolicy>

Specifies a WBPolicy object that contains the backup policy to update.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

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

True (ByValue)

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

false

<CommonParameters>

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

入力

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

出力

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

  • None

    None

Example 1: Add bare metal recovery to a backup policy

This command adds a setting to the WBPolicy object in the variable named $Policy to enable the backups that are created through this policy to perform bare metal recovery.

PS C:\> Add-WBBareMetalRecovery -Policy $Policy

関連トピック

Get-WBBareMetalRecovery

Get-WBPolicy

Get-WBVolume

Remove-WBBareMetalRecovery