Is it possible to export all the data inside openldap for example using ldapsearch or some other tool to a (ldif?) file and then import everything on another server and put this in a script that would be run every day. So that I could use the other one as a backup when the first/master server is not available?
I have full access to the first/master server, but I can't modify it's configuration so I think I can't set up replication.
slapdfirst, and delete old databaserm -fr /var/lib/ldap/*then restore. If not, you'll get something likeKey/data pair already exists (-30996). – quanta Oct 05 '12 at 15:452.4+you probably want to useslapcat -F /etc/openldap/slapd.dfor the new dynamic configuration operation. – Stuart Cardall Aug 11 '20 at 12:24