[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: what to copy of bdb directory?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marco Parmigiani wrote:
| Hello everybody,
|
| in order to replicate the existing openLdap db (berkeley) we just
installed in our production environment on a number of slaves, I havo to
perform step 13.4.4. of the admin guide: "Copy the master slapd's
database to the slave".
| Since my data directory is very huge, I would like to know which files
inside the openldap-data bdb directory I do actually need to copy.
Inside the folder I see the following files:
| *.bdb
| __db.00?
| log.*

It's not quite as simple as *copy*, especially if the server you are
copying from is running.

We have some scripts in Mandrake to make this easier, you may want to
try them (but I have actually refactored them for a client - running Red
Hat - and hope to update the Mandrake packages with these in the next
few days).

http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/SPECS/openldap/ldap-hot-db-backup?rev=1.1&content-type=text/x-cvsweb-markup
http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/SPECS/openldap/ldap-reinitialise-slave?rev=1.1&content-type=text/x-cvsweb-markup

Regards,
Buchan

- --
Buchan Milne                      Senior Support Technician
Obsidian Systems                  http://www.obsidian.co.za
B.Eng                                RHCE (803004789010797)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA7QYFrJK6UGDSBKcRAvCUAKCfWD8xUSNeKmfS1HMC2wLZfWmtoACfQv16
CF7HQGSRgsWDMAFIsDNA3Gw=
=i2A0
-----END PGP SIGNATURE-----