Dear all,
I am used to run slapcat to create backups of the backend database _while_ slapd is running. Recently I migrated from bdb to mdb. Now I read that using slapcat on a running slapd is only safe for bdb and hdb backends [1].
1: http://www.openldap.org/faq/data/cache/287.html
Question: - Is that still true? - In which situation could data corruption occur? - Is that supposed to change in the future?
Many thanks, -- Bastian Tweddell Juelich Supercomputing Centre phone: +49 (2461) 61-6586 HPCNS, HPS
------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------
--On Friday, June 24, 2016 1:29 PM +0200 Bastian Tweddell b.tweddell@fz-juelich.de wrote:
Dear all,
I am used to run slapcat to create backups of the backend database _while_ slapd is running. Recently I migrated from bdb to mdb. Now I read that using slapcat on a running slapd is only safe for bdb and hdb backends [1].
You are confusing LDBM with LMDB. Two entirely different things. Slapcat is perfectly valid for back-mdb. The FAQ simply hasn't been updated in years. I.e., LMDB didn't even exist the last time it was updated.
--Quanah
--
Quanah Gibson-Mount Platform Architect Manager, Systems Team Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration A division of Synacor, Inc
On 24Jun16 07:19-0700, Quanah Gibson-Mount wrote:
--On Friday, June 24, 2016 1:29 PM +0200 Bastian Tweddell
I am used to run slapcat to create backups of the backend database _while_ slapd is running. Recently I migrated from bdb to mdb. Now I read that using slapcat on a running slapd is only safe for bdb and hdb backends [1].
You are confusing LDBM with LMDB. Two entirely different things. Slapcat is perfectly valid for back-mdb. The FAQ simply hasn't been updated in years. I.e., LMDB didn't even exist the last time it was updated.
Yes, you are right, I got confused by LDBM and LMDB and an outdated FAQ entry. I sleep better now after having learned that my backups aren't prone to corruption in this sense.
Many thanks,
openldap-technical@openldap.org