[ejabberd] Migrating two serves into one

Badlop badlop at gmail.com
Tue Jun 11 12:51:05 MSK 2013

On 10 June 2013 21:32, Alexander R. <dotnot at lavabit.com> wrote:
> Hello everybody,
> my current situation is that I have two active ejabberd instances, both
> running on separate machines, both veeeery old hardware. For stability
> and economic reasons I want to migrate both on one, newer machine.
> According to the official documentation
> (http://svn.process-one.net/ejabberd/tags/ejabberd-2.0.5/doc/guide.html#htoc64)
> all I would have to do is backup the Mnesia databases and import them
> both on the new machine. But my guess is that one backup would overwrite
> the other - which would be fatal.

The dump/load feature in Mnesia are additive: they add new tables, new
record elements, and only overwrite identical record elements. I don't
remember now about backup/restore, but they are probably additive too.

> Does anyone have any experiences with such a scenario? Or could somebody
> point me to the right place in the documentation?
> Thanks in advance,
> cheers!


More information about the ejabberd mailing list