Enable before-image encryption for a Replication-enabled target database
Print
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Enable 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.
Follow these steps to enable before-image encryption on the Replication-enabled target database:
-
Shut down the source database and the target database.
Use the following command for each database:
proshut db-name -
Disable replication on each database.
Use the following command to disable replication on each database:
DSRUTIL db-name -C DisableSiteReplication { source | target } -
If before-image encryption is not already enabled on
the source database, enable it by using the following command:
proutil source-db-name -C enableencryption -biencryption enableWhen you enable before-image encryption, the before image is automatically truncated.
-
Enable the database as a Replication source database using
the following command:
proutil source-db-name -C enableSiteReplication source -
Back up the database using the following command:
probkup source-db-name source-db-backup-name - Copy the backup volume or volumes to the target computer.
-
Copy the source database structure file (source-db-name
.st) to the target database directory on the secondary computer and rename it to match the target database name. 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 database directory and rename it with the name of the target database (target-db-name.ks).The source database key store was created when you enabled the database for transparent data encryption.
-
Restore the target database from the source backup volume
or volumes using the following command:
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.
- Start both databases.