I have ejabberd 21 working with more than a million users with their chat history. I want to migrate all user to new domain / host name as per new business requirement. What is the appropriate method?
There is no tool in ejabberd for that, and I am not aware of any other external tool to do that. But you can do it manually.
If you are using a SQL database for authentication and storing rosters, offline messages, etc...
Or maybe you have the skills to perform this replacement in SQL directly.
If you are using the internal Mnesia database, the method is similar: