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> ] [[-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.
별칭 |
없음 |
필수 여부 |
false |
위치 |
2 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
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”.
별칭 |
없음 |
필수 여부 |
false |
위치 |
3 |
기본값 |
CreateCopy |
파이프라인 입력 적용 여부 |
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.
별칭 |
없음 |
필수 여부 |
false |
위치 |
4 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. 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