Recovering ldap database

My YunoHost server

Hardware: Raspberry Pi (specify version, 0 to 4) at home
YunoHost version:
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I accidentally removed the content of /var/lib/ldap/ directory and so now ldap does not start with this error

mdb_db_open: database "dc=yunohost,dc=org" cannot be opened: MDB_INVALID: File is not an LMDB file (-30793). Restore from backup

I have a system backup of yestaerday: could I recover from it?

I solved my issue manually recovering the two .ldif files from the system backup and following this page How To Backup and Restore OpenLDAP - Tyler's Guides

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.