Hi all,
When I try to export my Mnesia db to sql scripts, I get this :
# pwd
/var/lib/ejabberd/ebin
#
# du /etc/ejabberd/Mnesia.ejabbered@pr01-c30900-db03
4.4M /etc/ejabberd/Mnesia.ejabbered@pr01-c30900-db03
#
# ./ejabberdctl ejabbered@pr01-c30900-db03 export2odbc pr01-c30900-db03.mydomain.com /tmp/test2
Trying to export Mnesia table 'last' on server 'mydomain.com' to file '/tmp/test2/last.txt'
Trying to export Mnesia table 'offline' on server 'mydomain.com' to file '/tmp/test2/offline.txt'
Trying to export Mnesia table 'passwd' on server 'mydomain.com' to file '/tmp/test2/passwd.txt'
Trying to export Mnesia table 'private_storage' on server 'mydomain.com' to file '/tmp/test2/private_storage.txt'
Trying to export Mnesia table 'roster' on server 'mydomain.com' to file '/tmp/test2/roster.txt'
Trying to export Mnesia table 'vcard' on server 'mydomain.com' to file '/tmp/test2/vcard.txt'
Trying to export Mnesia table 'vcard_search' on server 'mydomain.com' to file '/tmp/test2/vcard_search.txt'
#
#
# du /tmp/test2/*
4.0K /tmp/test2/last.txt
4.0K /tmp/test2/offline.txt
4.0K /tmp/test2/passwd.txt
4.0K /tmp/test2/roster.txt
4.0K /tmp/test2/vcard_search.txt
4.0K /tmp/test2/vcard.txt
-> Nothing into files (just begin;commit;).
My Mnesia db get about 700 users, so it's not really empty :p
if I wrote someting stupid at the "server" arg place, I get the same result, so, how can I make me sure that I try to export the right db ???
Another information, I'm pretty sure on the args I submit because this works :
# ./ejabberdctl ejabbered@pr01-c30900-db03 vcard-get toto1 mydomain.com N GIVEN
toto
Is someone can help me ?
Is someone have face the same problem ? This stuff make me crazy !
Problem solved using the
Problem solved using the last svn version of ejabberd ...
Thanks for your active helping and for the awesome documentation ...
It was obviously an odbc driver problem.