Subject says pretty much everything.
Somebody installed an instance of ejabberd 2.0.0 on a Windows server and we want to migrate the instance to a Turnkey VM which is running Ubuntu and ejabberd 2.1.8. I'm an experienced admin, but have never worked with ejabberd before.
The users would prefer to not have to setup all of their buddies, etc., though we will be changing hostnames and IPs in the process (too much stuff running on that old Windows box!).
Can I do this migration? Should I just try these steps: http://www.ejabberd.im/migrate-host?
Any input helpful.
Thanks,
Jamie Gruener
If you are an optimistic guy,
If you are an optimistic guy, copy the Mnesia database spool files and ejabberd.cfg file from 2.0.0-windows to 2.1.8-linux. Then start ejabberd and look at the log files.
In the best case, it will work immediately. In the worst case, it won't due to some problems (like diferent machine name, or problems in the config file), and you will have to check the error reports.
Hi badlop - I'm about to do a
Hi badlop - I'm about to do a similar migration (2.0.3 to 2.1.9, but both on the same Linux host) and had the same question. I did an "ejabberdctl backup ejabberd_203.backup" of the 2.0.3 ejabberd and was planning to do a restore in 2.1.9. Will this work, or do I need to manually copy the Mnesia files? Thanks very much!
If you copy your mnesia files
If you copy your mnesia files from ejabberd 2.0.3, and start ejabberd 2.1.9 with those files, ejabberd will detect they are from an old version and will automatically update the tables as required, and will work correctly.
All this will work if there isn't any problem, of course :)