[ejabberd] Is there an easy way to migrate users from one domain to another?
badlop at gmail.com
Wed May 4 13:55:31 MSD 2011
2011/5/3 Eric Chamberlain <eric at rf.com>:
> I'm new to ejabberd.
> Is there an easy way to migrate users from one domain to another? We need to change our users' JIDs from user at domain1.com to user at domain2.com.
Not an easy way, but possible.
1. Dump the Mnesia database to a text file, with webadmin or ejabberdctl.
2. Stop ejabberd
3. Modify that text file as you want. Make sure to keep the syntax.
4. Delete the Mnesia spool files (or better: move the files to another dir).
5. Start ejabberd.
6. Load the modified Mnesia text file, with webadmin or ejabberdctl
More information about the ejabberd