You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Ma...@bmi.gv.at on 2009/07/13 09:53:28 UTC
Backup and migration
Hello,
I did not find an entry in the documentation about backing up and
restoring ADS (ver.1.5).
A similar task is migration from development to production server.
Does someone have a hint ?
Regards
M.Muncke
AW: Backup and migration
Posted by Ma...@bmi.gv.at.
Hello,
Theres a bit more to it
You need to copy the server.xml
Then you will have troubles opening items with their own Object definition at server startup like this :
[14:13:48] WARN [org.apache.directory.server.core.entry.DefaultServerEntry] - Cannot read the attribute as it's OID ('2.2.10') does not exist
Etc.
You need to export your own objects and reimport into the new instance. Copyiing files did not work for me.
Regards
M.Muncke
-----Ursprüngliche Nachricht-----
Von: Alex Karasulu [mailto:akarasulu@gmail.com]
Gesendet: Montag, 13. Juli 2009 23:58
An: users@directory.apache.org
Betreff: Re: Backup and migration
Right now you would have to shutdown the server then just copy or tar up the contents under the partitions folder then restart the server. Eventually this shutdown/restart must go away for production use that does not require maintenance windows for this process. I hope to get there for 2.0 but we'll see.
To restore just shutdown the server, and replace the old partitions directory then start the server.
Regards,
Alex
On Mon, Jul 13, 2009 at 3:53 AM, <Ma...@bmi.gv.at> wrote:
> Hello,
>
> I did not find an entry in the documentation about backing up and
> restoring ADS (ver.1.5).
> A similar task is migration from development to production server.
>
> Does someone have a hint ?
>
> Regards
> M.Muncke
>
--
Alex Karasulu
My Blog :: http://www.jroller.com/akarasulu/ Apache Directory Server :: http://directory.apache.org Apache MINA :: http://mina.apache.org
Re: Backup and migration
Posted by Alex Karasulu <ak...@gmail.com>.
Right now you would have to shutdown the server then just copy or tar up the
contents under the partitions folder then restart the server. Eventually
this shutdown/restart must go away for production use that does not require
maintenance windows for this process. I hope to get there for 2.0 but we'll
see.
To restore just shutdown the server, and replace the old partitions
directory then start the server.
Regards,
Alex
On Mon, Jul 13, 2009 at 3:53 AM, <Ma...@bmi.gv.at> wrote:
> Hello,
>
> I did not find an entry in the documentation about backing up and
> restoring ADS (ver.1.5).
> A similar task is migration from development to production server.
>
> Does someone have a hint ?
>
> Regards
> M.Muncke
>
--
Alex Karasulu
My Blog :: http://www.jroller.com/akarasulu/
Apache Directory Server :: http://directory.apache.org
Apache MINA :: http://mina.apache.org