[ejabberd] How to change mnesia table type by command line ?

Manuel DE FERRAN mdeferran at ubikod.com
Wed Dec 1 19:03:53 MSK 2010


I'm running a single node ejabberd instance 2.1.5 on top of erlang R14a.
I'm trying to change disc_copies mnesia tables to ram_copies. But I'd like
to do it with a script.

I tried :
erl -home /var/lib/ejabberd -name ejabberddebug -setcookie mycookie -remsh
ejabberd at node01 -s mnesia -run mnesia info

I tried to pipe "mnesia:info()." to ejabberdctl debug, with no luck too.

What is the easiest way to do it ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20101201/78f9459d/attachment.html>

More information about the ejabberd mailing list