LemonLDAP::NG provides a script to change configuration backend easily keeping history. It is set in LemonLDAP::NG utilities directory (convertConfig).
The convertConfig utility reads 2 LL::NG configuration files (lemonldap-ng.ini):
convertConfig --current=/etc/lemonldap-ng/lemonldap-ng.ini --new=/new/lemonldap-ng.ini
Note
Since LemonLDAP 2.0.9, you don’t need the --current and --new options when migrating from the default file-based backend. Simply run convertConfig to migrate from the default configuration backend to the currently configured backend.
Documentation is available for configuration backends :