New-OBRecoveryOption

New-OBRecoveryOption

Specifies the recovery options that will apply to all the recoverable items during recovery.

구문

Parameter Set: Default
New-OBRecoveryOption [[-DestinationPath] <String> ] [[-OverwriteType] <String> {CreateCopy | Skip | Overwrite} ] [[-SkipRestoreSecurity]] [ <CommonParameters>]

자세한 설명

The New-OBRecoveryOption specifies the recovery options that will apply to all the recoverable items during recovery. These include the Destination Path, Overwrite flag (for use in case if the object already exists), and Security settings for the object

If no Recovery Option is specified, the following default options will be used during recovery.
  1)  Restore to original location.
  2)  Create copies in case of conflict.
  3)  Restore ACLs of the files.

매개 변수

-DestinationPath<String>

Specifies the location to recover. This parameter is optional.

별칭

none

필수 여부

false

위치

2

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-OverwriteType<String>

Specifies whether to overwrite the existing files at the destination path. The following three values are supported for this parameter – “CreateCopy”, “Skip” and “Overwrite”.

별칭

none

필수 여부

false

위치

3

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-SkipRestoreSecurity

Specifies whether to restore the access control lists (ACLs) of the files being recovered or to allow them to inherit the default ACLs of the restore location.

별칭

none

필수 여부

false

위치

4

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)

입력

입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.

  • None

출력

출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.

  • Microsoft.Internal.CloudBackup.Commands.OBRecoveryOption

EXAMPLE 1

This example creates a new recovery option.

PS C:\> New-OBRecoveryOption -DestinationPath C:\temp -OverwriteType Overwrite –SkipRestoreSecurity

관련 항목

New-OBPagingContext

New-OBRecoverableItem

Start-OBRecovery