PowerShell Logo Small

Backup-CARoleService



This is the built-in help made by Microsoft for the command 'Backup-CARoleService', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Backs up the CA database and private key information.

SYNTAX


Backup-CARoleService [-Path] <String> [-Force] [-Incremental] [-KeepLog] -DatabaseOnly [<CommonParameters>]
Backup-CARoleService [-Path] <String> [-Force] [-Incremental] [-KeepLog] [-Password <SecureString>] [<CommonParameters>]
Backup-CARoleService [-Path] <String> [-Force] [-Password <SecureString>] -KeyOnly [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


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



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=306660
Restore-CARoleService

REMARKS

<

Examples


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

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



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




Example 2: Back up the CA database only

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



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




Example 3: Back up the CA key only

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



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