ejabberd - Comments for "Dump just one vhost" https://www.ejabberd.im/node/3287 en I tried to filter such a https://www.ejabberd.im/node/3287#comment-53777 <p>I tried to filter such a dump. But man if you have 4 vhosts running all filled up with users, filtering such a file is no fun.</p> <p>I would really like to have such a dump via<br /> ./ejabberdctl vhost "myvhostdomain" dump</p> <p>that would be a nice one feature.</p> <p>But anyway thanks for your answer. So I know that I can merge the filtered stuff into an running server.</p> <p>Ciao Ephraim</p> Tue, 18 Nov 2008 16:14:03 +0000 ephraim comment 53777 at https://www.ejabberd.im You can dump whole database to text file; edit; then load https://www.ejabberd.im/node/3287#comment-53776 <div class="quote-msg"> <div class="quote-author"><em>ephraim</em> wrote:</div> <p>I want to move just one vhost to another server. Is there a function to dump just the stuff of that vhost?</p></div> <p>Not possible to dump only a vhost.</p> <p>But you can dump the whole Mnesia database to text file. Notice this may take some time and RAM if you have hundreds of users and roster items. Then edit the text file to remove the content that you don't want.</p> <div class="quote-msg"> <div class="quote-author"><em>ephraim</em> wrote:</div> <p>And can I "merge" that vhost stuff then with "ejabberdctl load" into an existing server?</p></div> <p>And then load that text file (you filtered it) in the other ejabberd server.</p> Tue, 18 Nov 2008 15:40:55 +0000 mfoss comment 53776 at https://www.ejabberd.im