mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-28 14:44:17 +01:00
N°7150 - Backup : on MariaDB >= 11.0.1 call mariadb-dump instead of mysqldump
This commit is contained in:
@@ -564,7 +564,7 @@ class SetupUtils
|
||||
$sMySQLBinDir = MetaModel::GetConfig()->GetModuleSetting('itop-backup', 'mysql_bindir', '');
|
||||
}
|
||||
try {
|
||||
$sMySQLDump = DBBackup::MakeSafeMySQLCommand($sMySQLBinDir, 'mysqldump');
|
||||
$sMySQLDump = DBBackup::MakeSafeMySQLCommand($sMySQLBinDir, DBBackup::GetDumpFunction());
|
||||
} catch (Exception $e) {
|
||||
$aResult[] = new CheckResult(CheckResult::ERROR, $e->getMessage());
|
||||
return $aResult;
|
||||
|
||||
Reference in New Issue
Block a user