PAReplicate Configuration and Usage

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PAM Self-Hosted Articles
3 min read
L3 Networker
No ratings
The PAReplicate utility is a useful way of having a second backup to the vault in addition to a disaster recovery vault. In the event that both the primary and disaster recovery vaults are not recoverable, a backup created with PAReplicate can be used to restore the vault data.

Steps

Installation
------------
The Replicate utility is provided with the standard CorePAS package. This can be installed on any server that can communicate with the vault over port 1858. It need not be installed on a component server, a standard server will 
suffice. Installation is performed by right-clicking 'setup.exe' and following the prompts.

Configuration
-------------
The configuration of the Replicate utility is in three parts:
1. Create credentials for the Backup user
2. Create credentials for the Operator user
3. Ensure that the primary vault IP address is in the vault.ini of the Replicate folder

Backup user:
It is recommended to use the backup user for vault backups.
1. Log into the vault via the PrivateArk Client.
2. Navigate to Tools -> Administrative Tools -> Users and Groups
3. Scroll down to the System location and click the '+' to expand it.
4. Select the Backup User
5. In the first screen, uncheck the 'Disable User' box.
6. Click on the 'Administration' tab and set the password.
7. Click 'Close'
8. On the server where Replicate is installed, open an elevated command prompt and navigate to the folder where Replicate is installed. The default location is 'C:\Program Files (x86)\PrivateArk\Replicate'
9. Run the CreateCredFile utility to create a credential file for the Backup user.
  • For 12.1+: 'CreateCredFile.exe backup.cred Password /Username Backup /AppType CABACKUP /IpAddress /Hostname /ExePath "C:\Program Files (x86)\PrivateArk\Replicate\PAReplicate.exe" /OSUsername "NT AUTHORITY\SYSTEM" /EntropyFile /DPAPIMachineProtection /Password CyberArk1

* Note the user name is 'Backup' and the password is CyberArk1 in the above example.  Update the path to pareplicate.exe if necessary.

Operator user:
It is recommended to use the operator user for restoration of the vault or individual safes
Follow the instructions for the 'Backup' user (above), but substitute 'Operator' in place of 'Backup'

Vault:
Edit the vault.ini in the Replicate folder and set 'Addresses' to the IP
address of the primary vault.

Usage
-----
Example: 'PAReplicate.exe Vault.ini /LOGONFROMFILE backup.cred [/FULLBACKUP]' where:
/LOGONFROMFILE <credfile> will logon to the vault using the specified credential file, as opposed to having to enter a password. This is required for any unattended backups.
If /FULLBACKUP is specified, this will perform a full backup of the vault. If /FULLBACKUP is omitted, it will perform an incremental backup.

If it becomes necessary to restore the vault, the PARestore process will restore the latest full backup followed by the incremental backups.

It is recommended that scheduled tasks be created for incremental and full  backups and run as the local SYSTEM user. The recommended schedule is:
Mon - Sat: Perform an incremental backup on these days
Sun: Perform a full backup on this day

The time to perform the backup depends on usage of the vault. It is advisable to run backups during low usage hours.

Refer to Microsoft documentation on setting up a scheduled task.

Refer to https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/Restore-Utilities.htm for information on restoring safes and vaults.
 
Rate this article:
  • 31451 Views
  • 0 comments
  • 0 Likes
Article Dashboard
Version history
Last Updated:
‎11-19-2025 09:01 PM
Updated by: