Hi, I have a server that runs on top of MDB. While provisioning is going on, I would like to take the backup of MDB (data.mdb and lock.mdb files). While trying to use mdb_copy command line tool, I noticed:
- mdb_copy utility hangs while server is up, I guess waiting for a lock (on DB?) to be released by the server. - if I shutdown the server, mdb_copy works but copies only data.mdb and NOT lock.mdb
How do I take backup of data.mdb and lock.mdb files while server is up and provisioning is going on? Is mdb_copy not the right tool for this purpose? What am I missing?
Thanks, Sanjay
--On Wednesday, May 29, 2013 2:26 PM -0700 Sanjay Jain sjain74@gmail.com wrote:
How do I take backup of data.mdb and lock.mdb files while server is up and provisioning is going on? Is mdb_copy not the right tool for this purpose? What am I missing?
a) What version of OpenLDAP are you using? I can mdb_copy a live DB just fine.
b) You only need a backup of data.mdb. That's why lock.mdb isn't copied.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org