Do not compress, tamper with, or otherwise alter changelog database files directly unless specifically instructed to do so by a qualified ForgeRock technical support engineer. External changes to changelog database files can render them unusable by the server. By default, changelog database files are located under the /path/to/ds/changelogDb directory.
Enter one of the following commands to change the replication purge delay depending on your version:
- DS 7 and later: $ ./dsconfig --port 4444 --hostname ds1.example.com --bindDN uid=admin --bindPassword password --no-prompt set-synchronization-provider-prop --provider-name "Multimaster Synchronization" --set replication-purge-delay:[timeperiod]
- Pre-DS 7: $ ./dsconfig --port 4444 --hostname ds1.example.com --bindDN "cn=Directory Manager" --bindPassword password --no-prompt set-replication-server-prop --provider-name "Multimaster Synchronization" --set replication-purge-delay:[timeperiod]
Replacing [timeperiod] with an appropriate value that consists of a number and a letter, for example, 5d for five days and 1w for one week.
Information about replication changes are permanently gone once they have been purged from the changelog; you must ensure that you set this appropriately to ensure you keep data long enough for replication and data recovery purposes.