* Michael Ströder:

> Florian Weimer wrote:
>> * Onno van der Straaten:
>> 
>>> Ubuntu server upgrade from 12.04 to 14.04 LTS will purge the OpenLDAP
>>> directory data.
>> 
>> Is there an Ubuntu bug for this behavior?  It's a bit odd.
>
> One should generally be careful with system upgrades.
>
> AFAIK on-disk-format might change because of Berkeley-DB version upgrade.

Unless OpenLDAP uses the HASH database type, it's sufficient to
checkpoint the Berkeley DB environment (and perhaps some other
undocumented magic) *before* updating OpenLDAP.  The on-disk format of
B-Tree-type databases is quite stable.

(Automated dump and reload might not work for large databases during
automated package upgrades because of the time and disk space
overhead.)

Reply via email to