directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Re: move apacheds m25 to different server
Date Sun, 02 Sep 2018 17:41:15 GMT


Running OS:  Windows server 2012R2


   So, I went back to v m24 after getting odd errors from v25 when I copied
over my M24 config.


Currently running v m24, and in the path:


C:\Program Files (x86)\ApacheDS\instances\default\conf


There are only the following files and one folder:






FOLDER:  ou=config


I noticed on this site here:


that it stated to extract a LDIF from ApacheDS, so I did that with OPENLDAP
tools and ldapsearch.  I used the example there as in:


‘ldapsearch -D "uid=admin,ou=system" -w secret -p 10389 -h localhost -b
"dc=example,dc=com" -s sub "(ObjectClass=*)" * + > backup.ldif’
I then imported that into v24, had to do it a few times because it would
never get it all the first time.  After that was complete, that is how I
ended up with the file structure above in the ‘conf’ folder.
I apologize as I was first referencing version m25.
Am I missing something?






the configuration for your server is stored in a single file, config.ldif.


Dependning on the OS yoi are running it on, this file can be found in :


Debian/RH/CentOS: /var/lib/apacheds-<version>/default/conf

Mac OSX: /usr/local/apacheds-<versions>/instances/default/conf


You can simply copy this file as is, there is nothing specific to yur

local machine in it


The data are stored in :


Debian/RH/CentOS: /var/lib/apacheds-<version>/default/partitions/<XXX>/...

Mac OSX:



You can also copy those files as is.



Le 02/09/2018 à 03:16, a écrit :

> I'm needing to move my apacheDSm25 install to a different server.  I

> previously has apacheDSm24 installed and upgrade to m25.  




> My question is, how can I back this up and move my entire LDAP config to a

> different box?




> Any help would be greatly appreciated




> thanks





Emmanuel Lecharny


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message