-2

I need to upgrade apacheds from 2.0.0-M19 to 2.0.0-M23. Kindly share steps or documents. Thanks!

omar jalloh
  • 91
  • 1
  • 3

1 Answers1

0

Before you do anything you should export the existing LDAP database to an LDIF file!

Export:

ldapsearch -h localhost -p 10389 -D uid=admin,ou=system -w secret -LLL > ldap-export.ldif

Then import on the new server it in a similar fashion:

ldapmodify -h localhost -p 10389 -D uid=admin,ou=system -w secret -a -f ldap-export.ldif

I've always done the "upgrade" by building a clean box, installing the new version of ApacheDS to it and then re-importing the data. The main thing to be sure of is that you get all (if any) schema changes but do not overwrite any conflicting schemas in the new version.

The "-a" switch means ADD to the existing data (instead of replace it) so if there is a conflict it will tell you. Expect to do this a few times until you get it right :)

TheFiddlerWins
  • 2,999
  • 1
  • 15
  • 22