SYSTEMTOOLS_MYSQLDUMP not updated when db restored to another installation #9086
Labels
Issue Stale (automatic label)
This issue is stale because it has been open 1 year with no activity. Remove this label to keep open
The first time the database is backed up using the admin tools, this constant is created and stored in llx_const.
eg: C:/xampp.7.2.6/mysql/bin/mysqldump
When this backup is restored to another Dolibarr fileset/another installation, this path becomes invalid and so backups cannot be done/cause an error message.
Once this constant is dropped from llx_const, the backup page re-detects the correct value.
I suggest that the backup page should always check/update the path or indicate not found for the tool.
Otherwise the database is not portable.
The text was updated successfully, but these errors were encountered: