Enabling before-image encryption for a Replication-enabled target database
Print
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Enabling before-image encryption for a Replication-enabled target database
To enable before-image encryption on the target database, you must recreate the target database from the source database.
Use the steps that follows to enable before-image encryption on the Replication-enabled target database:
-
Shut down the source database and the target database,
using the following command for each database:
proshut db-name -
Use the following command to disable replication on the source
database:
DSRUTIL db-name -C DisableSiteReplication source-db-name -
Use the following command to disable replication on the target
database:
DSRUTIL db-name -C DisableSiteReplication target-db-name -
If before-image encryption is not already enabled on
the source database, enable it using the following command:
proutil source-db-name -C enableencryption -biencryption enableThe before image area is truncated.
-
Enable the database as a Replication source database using
the following command:
proutil source-db-name -C enableSiteReplication source -
Back up the database, as shown:
probkup source-db-name source-db-backup-name - Copy the backup volume or volumes to the target computer.
- Copy the source database structure file to the target database directory on the secondary computer. Make any modifications necessary to the file to match the configuration of the target database.
-
Copy the source database key store (source-db-name
.ks) to the target machine and place it into the target database directory. -
Restore the target database from the source backup volume
or volumes:
prorest target-db-name source-db-backup-name -
Enable the database as a target database using the following
command:
proutil target-db-name -C enableSiteReplication target -
Configure the Replication property files for both the source
and target databases, as follows:
-
Locate the sample source database property
file (
source.repl.properties) and the sample target database property file (target.repl.properties), found in OpenEdge-install-dir\properties. - Copy each file to the same directory as its corresponding database, and rename it to match the name of the database.
- Modify the copied property files, if necessary.
-
Locate the sample source database property
file (
- Start both databases.