ejabberd - Comments for "restore backup under new host name" https://www.ejabberd.im/forum/28802/restore-backup-under-new-host-name en If the backup is a text file, https://www.ejabberd.im/forum/28802/restore-backup-under-new-host-name#comment-67486 <p>If the backup is a text file, you can simply edit it before importing in the new server.</p> <p>If the backup is some binary file that you can't edit, then you can:<br /> 1. import/restore/recover the old backup in the new server<br /> 2. Dump the database to a text file<br /> 3. Edit that text file, changing the account domains as you want. Make sure you respect the file syntax.<br /> 4. In ejabberd, delete the database contents, as they are old.<br /> 5. Then load the edited text file.</p> <p>For 1, 2, 4 and 5 you can use ejabberdctl commands.</p> Wed, 24 May 2017 09:41:15 +0000 badlop comment 67486 at https://www.ejabberd.im