Start-WBSystemStateRecovery

Windows Server 2012 R2 and Windows 8.1

업데이트 날짜: 2015년 9월

Start-WBSystemStateRecovery

Starts a system state recovery operation.

구문

Parameter Set: SSR
Start-WBSystemStateRecovery [-BackupSet] <WBBackupSet> [[-TargetPath] <String> ] [[-AuthoritativeSysvolRecovery]] [[-RestartComputer]] [[-Async]] [[-Force]] [ <CommonParameters>]

Parameter Set: ADIFM
Start-WBSystemStateRecovery [-BackupSet] <WBBackupSet> [-ADIFM] [-TargetPath] <String> [[-Async]] [[-Force]] [ <CommonParameters>]




자세한 설명

The Start-WBSystemStateRecovery cmdlet starts a system state recovery operation. If the System State recovery operation is performed on the actual computer, completion of the operation requires a restart. If recovery is performed on an Active Directory (AD) computer, this cmdlet must be run in Directory Services Restore Mode (DSRM).

매개 변수

-ADIFM

Indicates an install from media (IFM) operation to recover all the related data needed for Active Directory Domain Services. Active Directory Install From Media (ADIFM) creates a copy of the Active Directory database, registry, and SYSVOL state, and then saves this information in the location specified by RecoveryTarget. Use this parameter only when RecoveryTarget is specified. This parameter is valid only if the backup set contains an Active Directory system state backup.


별칭

없음

필수 여부

true

위치

2

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Async

Indicates that Windows PowerShell return immediately after starting the backup, and not output status to the screen.


별칭

없음

필수 여부

false

위치

5

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-AuthoritativeSysvolRecovery

Indicates an authoritative recovery of SYSVOL, the System Volume shared directory. This parameter is valid only if the backup set contains an Active Directory system state backup.


별칭

없음

필수 여부

false

위치

3

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-BackupSet<WBBackupSet>

Specifies the backup set from which system state recovery is to be done.


별칭

없음

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

True (ByValue)

와일드카드 문자 허용 여부

false

-Force

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


별칭

없음

필수 여부

false

위치

6

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-RestartComputer

Indicates a system restart at the completion of the system state recovery operation. Use this parameter only for a recovery to the original location. Do not use this parameter if you need to perform steps after the recovery operation.


별칭

없음

필수 여부

false

위치

4

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-TargetPath<String>

Specifies an alternate location where the files belonging to system state can be recovered from the backup set. If you do not specify this parameter, system state recovery is performed for the actual computer, which will need a restart at the end of the operation. ADIFM recovery requires this parameter.


별칭

없음

필수 여부

true

위치

3

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(http://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

  • WBBackupSet

    Specifies the backup set that contains volume backup of all the system critical volumes, or contains backup of the system state for the system state recovery operation.


출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • System.String

    If you do not specify the Async parameter, the recovery operation outputs status at periodic intervals until the recovery operation completes. You can also call Get-WBJob to get the status of the current recovery operation. After completion of recovery, run Get-WBJob with the Previous parameter and an argument of 1to get the final recovery status.


예제

Example 1: Start a system state recovery operation

This example starts a system state recovery operation, and then restarts the computer at the end of the recovery operation.

The first command stores the result of Get-WBBackupSet in a variable named $Backup.

The second command starts the system state recovery from the backup set in $Backup. The command also uses the Force parameter to perform the recovery without prompting, the RestartComputer parameter to restart the computer when recovery finishes, and the Async parameter to suppress status output.


PS C:\> $Backup = Get-WBBackupSet
PS C:\> Start-WBSystemStateRecovery -BackupSet $Backup -Force -RestartComputer -Async

커뮤니티 추가 항목

추가
표시: