Backup-CARoleService

Backup-CARoleService

Backs up the CA database and private key information.

구문

Parameter Set: All
Backup-CARoleService [-Path] <String> [-Force] [-Incremental] [-KeepLog] [-Password <SecureString> ] [ <CommonParameters>]

Parameter Set: Database
Backup-CARoleService [-Path] <String> -DatabaseOnly [-Force] [-Incremental] [-KeepLog] [ <CommonParameters>]

Parameter Set: Key
Backup-CARoleService [-Path] <String> -KeyOnly [-Force] [-Password <SecureString> ] [ <CommonParameters>]

자세한 설명

The Backup-CARoleService cmdlet backs up the certification authority (CA) database and private key information to a specified path.

매개 변수

-DatabaseOnly

Indicates that the cmdlet backs up only the certification authority database.

별칭

없음

필수 여부

true

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-Force

사용자 확인을 요구하지 않고 명령을 실행합니다.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByValue, ByPropertyName)

와일드카드 문자 허용 여부

false

-Incremental

Indicates that the cmdlet performs incremental database back up.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-KeepLog

Indicates that the cmdlet does not truncate database logs.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-KeyOnly

Indicates that the cmdlet backs up only the CA private key and certificate.

별칭

없음

필수 여부

true

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-Password<SecureString>

Specifies a password, as a secure string, to protect private key and certificate information. To obtain a secure string, use the ConvertTo-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-Path<String>

Specifies the directory to which the cmdlet backs up the CA database and private key. If you back up the database, the cmdlet creates a new subdirectory named Database that contains the database backup. If you back up the private key, the cmdlet writes the private key to a .p12 file in the Database subdirectory in the path that you specify.

별칭

없음

필수 여부

true

위치

2

기본값

없음

파이프라인 입력 적용 여부

True (ByValue, ByPropertyName)

와일드카드 문자 허용 여부

false

<CommonParameters>

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

입력

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

출력

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

예제

Example 1: Back up the CA database and private key information

This command exports the CA database and private key information to the specified path.

PS C:\> Backup-CARoleService -Path "C:\CABackup"

Example 2: Back up the CA database only

This command exports the CA database to the specified path. The command does not back up the CA private key information.

PS C:\> Backup-CARoleService –Path "C:\CABackup" –DatabaseOnly

Example 3: Back up the CA key only

This command exports the CA private key information to the specified path. The command does not back up the CA database.

PS C:\> Backup-CARoleService –Path "C:\CABackup" -KeyOnly

관련 항목

Restore-CARoleService