Hi,
I'm preparing for an upgrade to 2.4 release but I've been looking for some documents related to: if it's needed to "dump" and "restore" the whole LDAP database (BDB actually) when changing openldap from 2.3 do 2.4? or perhaps it is irrelevant whether I use 2.3/2.4 BDB remains the same?
Regards, Marcin
--On February 20, 2008 8:33:38 AM +0100 Marcin Giedz giedz@arise.pl wrote:
Hi,
I'm preparing for an upgrade to 2.4 release but I've been looking for some documents related to: if it's needed to "dump" and "restore" the whole LDAP database (BDB actually) when changing openldap from 2.3 do 2.4? or perhaps it is irrelevant whether I use 2.3/2.4 BDB remains the same?
You want to slapcat on 2.3, then slapadd on 2.4
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount skrev, on 20-02-2008 18:48:
--On February 20, 2008 8:33:38 AM +0100 Marcin Giedz giedz@arise.pl wrote:
Hi,
I'm preparing for an upgrade to 2.4 release but I've been looking for some documents related to: if it's needed to "dump" and "restore" the whole LDAP database (BDB actually) when changing openldap from 2.3 do 2.4? or perhaps it is irrelevant whether I use 2.3/2.4 BDB remains the same?
You want to slapcat on 2.3, then slapadd on 2.4
AFAICR I did nothing other than reindex my 2.3 directory (db_recover shouldn't be necessary) after going through pangs of WTF?
Best,
--Tonni
Tony Earnshaw wrote:
Quanah Gibson-Mount skrev, on 20-02-2008 18:48:
--On February 20, 2008 8:33:38 AM +0100 Marcin Giedzgiedz@arise.pl wrote:
I'm preparing for an upgrade to 2.4 release but I've been looking for some documents related to: if it's needed to "dump" and "restore" the whole LDAP database (BDB actually) when changing openldap from 2.3 do 2.4? or perhaps it is irrelevant whether I use 2.3/2.4 BDB remains the same?
You want to slapcat on 2.3, then slapadd on 2.4
AFAICR I did nothing other than reindex my 2.3 directory (db_recover shouldn't be necessary) after going through pangs of WTF?
Well, you were lucky. There are never any guarantees that DB formats will remain compatible between releases, which is why the supported and documented procedure is to use slapcat / slapadd.
It's true though that the DB format in 2.4 is largely the same as in 2.3, with the exception of indexing enhancements made in 2.4.7.
Thanks a lot. I will give it a goal.
Regards, Marcin
Howard Chu pisze:
Tony Earnshaw wrote:
Quanah Gibson-Mount skrev, on 20-02-2008 18:48:
--On February 20, 2008 8:33:38 AM +0100 Marcin Giedzgiedz@arise.pl wrote:
I'm preparing for an upgrade to 2.4 release but I've been looking for some documents related to: if it's needed to "dump" and "restore" the whole LDAP database (BDB actually) when changing openldap from 2.3 do 2.4? or perhaps it is irrelevant whether I use 2.3/2.4 BDB remains the same?
You want to slapcat on 2.3, then slapadd on 2.4
AFAICR I did nothing other than reindex my 2.3 directory (db_recover shouldn't be necessary) after going through pangs of WTF?
Well, you were lucky. There are never any guarantees that DB formats will remain compatible between releases, which is why the supported and documented procedure is to use slapcat / slapadd.
It's true though that the DB format in 2.4 is largely the same as in 2.3, with the exception of indexing enhancements made in 2.4.7.
Quanah Gibson-Mount wrote:
--On February 20, 2008 8:33:38 AM +0100 Marcin Giedz giedz@arise.pl wrote:
Hi,
I'm preparing for an upgrade to 2.4 release but I've been looking for some documents related to: if it's needed to "dump" and "restore" the whole LDAP database (BDB actually) when changing openldap from 2.3 do 2.4? or perhaps it is irrelevant whether I use 2.3/2.4 BDB remains the same?
You want to slapcat on 2.3, then slapadd on 2.4
I really need to finish this:
http://www.openldap.org/doc/admin24/maintenance.html#Migration
and update this to have a upgrade slapcat plan:
http://www.openldap.org/doc/admin24/appendix-upgrading.html
openldap-software@openldap.org