[Date Prev][Date Next]
Re: create new ldap database query
How do I do that? If there are any documentation about it then please direct me to that.
Thank you in advance.
On Thu, Jun 4, 2009 at 8:36 PM, Rex Roof <firstname.lastname@example.org>
You could make the backup database a slave to your primary database, so that it is constantly being updated.
then just switch your config when your primary fails.
On Jun 4, 2009, at 11:00 AM, mukim pathan wrote:
Thank you for your inputs, Buchan. Actually what I am trying to do is to recreate the database if my present system fails due to any reason. Since ldap takes a lot of time in recovery for my system(it took 9 hours for 40 million entries and 1200 log files), I am trying to stage up another machine in the mean time as quickly as possible.I tried backing up and then reloading, but it seems to be taking a lot of time in generating the backup. So please let me know any faster solution with which I can recreate my database.
On Thu, Jun 4, 2009 at 7:49 PM, Buchan Milne <email@example.com> wrote:
On Thursday 04 June 2009 08:58:21 mukim pathan wrote:
> I am trying to create new ldap database on new machine and I want to
> transfer full ldap database from old machine to new machine. Can I just
> transfer all the database files (.bdb,_db,alock) and expect new database to
> be at the same stage of old database??
This won't work if:
-The version of OpenLDAP is different
-The database library version is older on the target
-The architectures differ (e.g. x86 vs x86_64).
Even if it does work (none of the above conditions apply), it's still not a
good idea to copy the database files directly (as it is non-trivial to get a
As covered in the documentation, the supported method for backing up and
restoring data is via slapcat to export, and slapadd to import.