Migrating from 1.0.0

Hello.
We are migratring from v.1.0.0 to the current SVN version. We are planning just to change ejabebrd software on the same box.

How can we migrate users DB & roster ?

Isn't it enough to copy mnesia DB files to the new location ?

Thanks.

To update the ejabberd

To update the ejabberd version using Mnesia you just need to stop ejabberd, overwrite the beam files, and start it. It will update the Mnesia database if required.

If you want to move the Mnesia files to another directory, just make sure to modify your start script.

However, if you plan to move ejabberd to a different machine,
check Migrate Database to Another Host.

Updating without stopping ejabberd

Is there a way to update the beam files without stopping the ejabberd service? It's written somewhere that Erlang chooses the "directory with the highest version number" at runtime. I tried this approach and I could get ejabberctl to respond.

Syndicate content