ejabberd - Comments for "Does the text backup and restore actually work? And if so how" https://www.ejabberd.im/node/1209 en It works with a manual trick https://www.ejabberd.im/node/1209#comment-2597 <div class="quote-msg"> <div class="quote-author"><em>francis</em> wrote:</div> <p>So binary restore works and text restore certainly does not seem to.</p></div> <p>You are right, I can repeat the same problem with ejabberd SVN and Erlang R11B-2 (Debian unstable).</p> <p>When the text dump is generated, some entries are like:</p> <pre>{route,"pubsub.localhost",&lt;0.344.0&gt;,undefined}. {route,"echo.localhost",&lt;0.332.0&gt;,undefined}.</pre><p> Later, when ejabberd tries to load that text dump, it fails with this error:</p> <pre>Error in line:193 of:"ejabberd.dump" syntax error before: '&lt;'</pre><p> If you remove all the lines that include '&lt;', and try to load the file again, it will work correctly.</p> <p>However, the Mnesia documentation recommends to use binary backups, not text dumps.</p> Sat, 25 Nov 2006 15:28:34 +0000 mfoss comment 2597 at https://www.ejabberd.im