I upgraded my Ubuntu server from 12.04 to 14.04 using standard do-release-upgrade.
After upgrade I found that my OpenLDAP directory data is purged. This is an unexpected outcome of an upgrade. I don't think that many people expect data on a server to be be purged or whipped as part of a standard upgrade process.
But someone must have thought it as unavoidable and necessary otherwise it would no be part of the upgrade. The question now is if this person or persons also thought about restore of data following this unexpected purge of data.
I can't find any information. How do I restore this data? Is this data still available somewhere on the server for easy restore?
The installation looks broken now, for example when I try
ostraaten@ubuntu:~$ sudo dpkg-reconfigure slapd
[sudo] password for ostraaten:
/usr/sbin/dpkg-reconfigure: slapd is broken or not fully installed
I fixed this issue as follows: Complete remove of OpenLDAP using
Install + restore of backup using script similar to