Dolibarr/dolibarr — pull request #312 by lrq3000 (2012-08-15 16:39:58+00:00)
Title: Fix: mysqlnobin export method now works better (avoid duplicates values ...

...errors when a number is in fact a string and foreign keys checks are always disabled when restoring).

I also updated the wiki about saving and restoring Dolibarr's backups, particularly the database part (both in english and french).

Another thing: I wanted to add a mysqlnobin method to restore a backup, but I couldn't understand how dolibarr_import.php works (there's not even a

html element, does it really work?), but if you're interested this function would be based on this one:

http://dan.cx/blog/2006/12/restore-mysql-dump-using-php

Pretty simple but supports multi-line SQL statements, so in my books that should be ok.