Hello, I am running ejabberd 1.1.2-6 without any plugins.
Since I reinstalled my server I made a ejabberd baclup file ejabberd.dump.
Now, I want to insert this file via ejabberdctl restore, but nothing seems to happen.
No error message, but The Server ist empty after that; no users.
My ejabberd.dump file begins with:
{tables,[{local_config,[{record_name,local_config},{attributes,[key,value]}]},
{config,[{record_name,config},{attributes,[key,value]}]},
{privacy,[{record_name,privacy},{attributes,[us,default,lists]}]},
{passwd,[{record_name,passwd},{attributes,[us,password]}]},
{irc_custom,[{record_name,irc_custom},{attributes,[us_host,data]}]},
{roster,[{record_name,roster},
Thanks a lot, Im in big trouble!
Thomas
If you 'dump', then you later need to 'load'
In ejabberd there are three ways to make a backup of the Mnesia database, and depending in the method you use to backup, you need to use the proper way to restore database. It is a good idea to backup the database in the three ways, so you later have oportunity to use any of them:
You have a text dump, so you used 'ejabberdctl dump'. Now you must use 'ejabberdctl'
In this example with ejabberd 2.0.2 the server has three accounts. I 'dump' database to text file, delete two accounts, verify the deletion, then I load the text database and verify that I have all three accounts again:
In this example I backup to binary file and restore: