ejabberd - Comments for "Problems restoring backup" https://www.ejabberd.im/node/791 en Nono, it's realyy incomplete https://www.ejabberd.im/node/791#comment-1686 <p>Nono, its really incomplete. I forgot to mention that it also has only about half the size of the backup I made some days before. Also I searched the backup for some of the missing users after I restored it. But however, the problem seems to have disappeared.</p> Wed, 03 May 2006 13:35:44 +0000 EvilGenius comment 1686 at https://www.ejabberd.im If you simply checked with a https://www.ejabberd.im/node/791#comment-1684 <p>If you simply checked with a text/hexeditor you might have missed some users that was actually in the database. For example, there is a log file where new inserts are temporary stored. You might have missed them.<br /> I think the database might actually been complete.</p> <p>--<br /> Mickaël Rémond<br /> <noindex><a href="http://www.process-one.net/" rel="nofollow" >Process-one</a></noindex></p> Wed, 03 May 2006 08:53:47 +0000 mremond comment 1684 at https://www.ejabberd.im I checked it by restoring it https://www.ejabberd.im/node/791#comment-1682 <p>I checked it by restoring to a new test-install (deleted the spool-directory before restoring) and by browsing it with a text/hexeditor. I found only a part of all users. I didn't got into it further by analysing if there's something special about the included or missing users, by I think the missing ones where the "youngest" (by registration date), but I'm really not sure.</p> <p>I also tried to "replay" the upgradepath (restored the db into a 1.0.0 and upgraded step by step to 1.1.1), but no trace of the problem. So I guess it was due to weird circumstances or Murphy had something to do with it ;-)</p> Tue, 02 May 2006 19:32:04 +0000 EvilGenius comment 1682 at https://www.ejabberd.im How did you check your https://www.ejabberd.im/node/791#comment-1679 <p>How did you check your backup ?<br /> Did you restore it on a completly new install, or an install with already data in it ?</p> <p>--<br /> Mickaël Rémond<br /> <noindex><a href="http://www.process-one.net/" rel="nofollow" >Process-one</a></noindex></p> Tue, 02 May 2006 11:29:45 +0000 mremond comment 1679 at https://www.ejabberd.im Very weird... I made 4 https://www.ejabberd.im/node/791#comment-1676 <p>Very weird... I made 4 backups (all in a row) and they were all incomplete. And there was plenty of disk space. But as for now. everything seems to be complete...</p> Tue, 02 May 2006 09:57:05 +0000 EvilGenius comment 1676 at https://www.ejabberd.im Backup https://www.ejabberd.im/node/791#comment-1675 <p>Hello,</p> <p>To be frank, I did not manage yet to reproduce a partial backup. There is a single Mnesia command that take care of the whole backup. If there is a problem, an error is return. So for now, I cannot imagine cases where it could only be partially done (apart from disk space limit).</p> <p>--<br /> Mickaël Rémond<br /> <noindex><a href="http://www.process-one.net/" rel="nofollow" >Process-one</a></noindex></p> Tue, 02 May 2006 09:38:59 +0000 mremond comment 1675 at https://www.ejabberd.im Works! https://www.ejabberd.im/node/791#comment-1671 <p>Yes, it works as it schould! Many thanks!</p> <p>Was that also the reason why the backup itselb was incomplete? Test-backupped the restored database and this time the backup seems to be complete.</p> Mon, 01 May 2006 19:29:02 +0000 EvilGenius comment 1671 at https://www.ejabberd.im Restore to 1.1.1 https://www.ejabberd.im/node/791#comment-1668 <p>Hello,</p> <p>I have found where the problem comes from. The restore should now be possible even if modules are no more used or if unknown tables exists in it.</p> <p>The modified ejabberd_ctl.erl is available from:<br /> <noindex><a href="http://svn.process-one.net/ejabberd/trunk/src/ejabberd_ctl.erl" rel="nofollow" >ejabberd_ctl.erl</a></noindex></p> <p>Please, could you let me know if this solves your problem ?</p> <p>--<br /> Mickaël Rémond</p> Mon, 01 May 2006 10:10:34 +0000 mremond comment 1668 at https://www.ejabberd.im Thank you for letting us https://www.ejabberd.im/node/791#comment-1667 <p>Thank you for letting us know.<br /> We are investigating this problem.</p> <p>--<br /> Mickaël Rémond</p> Mon, 01 May 2006 08:05:51 +0000 mremond comment 1667 at https://www.ejabberd.im It seems that ejabberd (or https://www.ejabberd.im/node/791#comment-1666 <p>It seems that ejabberd (or Erlang/Mnesia) habe Problems if you try to restore a backup wich was made if some of your loaded modules don't exist anymore or have changed (by upgrades to later versions). The backups (made by 1.1.1), by the way, where incomplete (contained only half of all the users). Luckily I had some older backups (from Version 1.0.0), which restored successfully (but I had to downgrade to 1.0.0 to make them work).</p> <p>So, is seems you cannot upgrade versions if you want to make functioning backups.</p> <p>Well, that seems to be a very SERIOUS bug?</p> Mon, 01 May 2006 03:23:55 +0000 EvilGenius comment 1666 at https://www.ejabberd.im