[ejabberd] best way to upgrade and move user data?

Jan Koum jan.koum at gmail.com
Sun Aug 30 10:23:09 MSD 2009


hi there,

if i want to upgrade from ejabberd-2.1.0_beta1 to ejabberd-2.1.0_betaN (or
ejabberd-2.1.N in the future), what is the best way to do it?  right now i
am running the server out of my home dir:

/home/$HOME/ejabberd-2.1.0_beta1/database/ejabberd at localhost

it seems like i have two ways to do the upgrade:

1. via 'dump/load' -- install ejabberd-2.1.0_betaN into
/home/$HOME/ejabberd-2.1.0_betaN and copy conf/* files from old install dir
followed by 'bin/ejabberdctl dump /tmp/x' from old server and
'bin/ejabberdctl load /tmp/x' into new server

2. via db files copy: install ejabberd-2.1.0_betaN into
/home/$HOME/ejabberd-2.1.0_betaN and copy conf/* files in addition to
/.../database/ejabberd at localhost/* files

i haven't tried either method yet, wanted to check here first.

thanks,

-- yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20090829/7ec191f0/attachment.html>


More information about the ejabberd mailing list