MariaDB restore: use abort_source_on_error

Version 1.56


New internal default directadmin.conf option: abort_source_on_error=1 if set to 1, and if MariaDB is used, the mysql binary command option: --abort_source_on_error to ensure that failed restores actually return a non-zero return code. There are some cases where a MariaDB restores are failing but still returning a success 0 code, which is not correct. ---- DATASKQ you can confirm if this is being called in the dataskq, level 1000 or higher. The restore output will include this line: Database::restoreDatabases: adding --abort-source-on-error to mysql call

Interested to try DirectAdmin? Get a 30-day Free Trial!