Review the adequacy of ldap_bu.sh
The techniques implemented by ldap_bu.sh are what was being done by Blue Light in the existing backup scripts, designed by Sam.
It would be prudent to review the techniques against the reference documentation at http://www.openldap.org/doc/admin24/maintenance.html (and any other reliable sources of information found).In particular:
- Running slapcat while OpenLDAP is active can result in data skew.
- If running Berkeley DB (need to check), would be useful to backup periodic transaction logs. The solution may be similar to whatever is implemented in bung for MySQL binary logging (Feature #140).
- If it is acceptable to interrupt service, the simplest technique is to stop OpenLDAP, back it up and re-start it (the interliude can be minimised by stop, snapshot, start, backup from snapshot).