Add-WBBareMetalRecovery
업데이트 날짜: 2015년 9월
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>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
WBPolicy
The Add-WBBareMetalRecovery cmdlet accepts a WBPolicy object as input.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
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