Export (0) Print
Expand All

Add-WBBareMetalRecovery

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Add-WBBareMetalRecovery

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

Syntax

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




Detailed Description

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 (http://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.

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.

Parameters

-Policy<WBPolicy>

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


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None

    None


Examples

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

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft