RE: BDB Backend: How to force transaction log rotation for log archival based on db_archive

2017-01-26 Thread Reiterer, Horst
Hi, > Is there a way to force a transaction log rotation to make sure that even > changes that do not cause > a new transaction log to be created will get archived at regular intervals? It can be done but the scenario definitely requires code to do so. The internal function __log_newfile can be

BDB Backend: How to force transaction log rotation for log archival based on db_archive

2017-01-26 Thread Reiterer, Horst
Hi, I use OpenLDAP with the Berkeley DB backend and db_archive to move unused transaction logs to a backup location for the purpose of disaster recovery. The intention is to reduce the data loss window to N minutes. Consequently, I execute db_archive every N minutes. If the transaction throughp