Cross server Binary backup/restore

I am attempting to migrate a server from an old ejabberd version (7.5) from one machine to a new machine running ejabberd 1.1.2 but am stymied as:
- text restore does not seem to work
- binary restore does not seem to work across server nodes. That is, I cannot complete a binary backup on one server and restore it on another server (version number does not matter here). I saw and attempted the tasks specified in http://www.ejabberd.im/migrate-host but the convert does not change anything in the output file. That is the inout and output binary backup files are *exactly* the same.

I'm sure that this problem has been solved many times before but I am at an impasse. Does anyone have suggestions?

Use binary, try the updated convert.erl, verify the old nodename

francis wrote:

I am attempting to migrate a server from an old ejabberd version (7.5) from one machine to a new machine running ejabberd 1.1.2 but am stymied as:
- text restore does not seem to work

Text backups are only for debugging/hacking purposes. I've added some comments to the Migrate tutorial stating that the backup must be 'binary'.

francis wrote:

- binary restore does not seem to work across server nodes. That is, I cannot complete a binary backup on one server and restore it on another server (version number does not matter here). I saw and attempted the tasks specified in http://www.ejabberd.im/migrate-host but the convert does not change anything in the output file. That is the inout and output binary backup files are *exactly* the same.

If the Convert program does not modify the backup file, it means there was nothing to modify, because you didn't put the right From node name. I've modified the program to print some information. Download and try again, and make sure it replaces the node names.

You may want to install the same ejabberd version on both hosts, preferably the latest one, and do the migration stuff with the database already on the newest version.

Syndicate content