[ejabberd] Recover data from archive_msg.DAT

pitchum pitchum at gramaton.org
Wed Feb 7 01:05:01 MSK 2018


Hi there,

recently my ejabberd reached the limit of 2GB of storage for MAM data
using the mnesia database. I know I should migrate to using an SQL
backend and I tried this:

    sudo -u ejabberd ejabberdctl --no-timeout export2sql \
      gramaton.org /tmp/dump.sql

But nothing happens and file /tmp/dump.sql is not generated.
Did I do something wrong?

Maybe I can write a script to parse that file by myself but I don't know
how it is structured. Any hints appreciated.


-- 
pitchum


More information about the ejabberd mailing list