ejabberd - Comments for "Migration from cluster to non cluster and version to version" https://www.ejabberd.im/node/3434 en Please excuse the stupid question about the schema https://www.ejabberd.im/node/3434#comment-54115 <p>I'm editing the file by hand and it is working.</p> <p>Thanks all.</p> Thu, 26 Mar 2009 02:41:01 +0000 dennypage comment 54115 at https://www.ejabberd.im Format for the dump file? https://www.ejabberd.im/node/3434#comment-54112 <p>I did try a few approaches at this, however I wasn't ever able to get the server to load the resulting file.</p> <p>Part of the problem is that I was guessing about the format of the roster entries in the dump file. Is this documented anywhere?</p> <p>Thanks,</p> <p>Denny</p> Wed, 25 Mar 2009 19:58:29 +0000 dennypage comment 54112 at https://www.ejabberd.im You can try to dump to text file https://www.ejabberd.im/node/3434#comment-54106 <div class="quote-msg"> <div class="quote-author"><em>dennypage</em> wrote:</div> <p>So, the big problem that I have left is how to deal with the user data migration issue resulting from the renaming of the virtual host from "jabber.example.org" to "example.org"</p> <p>So far, I haven't had much success editing the Mnesia database using a hex editor :-)</p> <p>Has anyone else faced this issue? Any suggestions?</p></div> <p>If you have a reasonable small database, instead of 'backup' the database to a binary file, you can 'dump' the database to a text file. After you edit the file, you can 'load' the text file in another ejabberd installation.</p> <p>Remember that, if your users have contacts in other remote Jabber servers, such contacts will not be aware of the domain change.</p> Wed, 25 Mar 2009 11:02:06 +0000 mfoss comment 54106 at https://www.ejabberd.im Progress https://www.ejabberd.im/node/3434#comment-54084 <p>Looks like the convert.erl will end up dropping nodes that are not chosen for rename, so it looks like this part is easily solved.</p> <p>So, the big problem that I have left is how to deal with the user data migration issue resulting from the renaming of the virtual host from "jabber.example.org" to "example.org"</p> <p>So far, I haven't had much success editing the Mnesia database using a hex editor :-)</p> <p>Has anyone else faced this issue? Any suggestions?</p> <p>Thanks,</p> <p>Denny</p> Thu, 19 Mar 2009 22:35:44 +0000 dennypage comment 54084 at https://www.ejabberd.im