mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
Changed mysqldump invocation to verbose mode (at least for the duration of the beta) in order to ease the troubleshooting of backup failures.
SVN:trunk[2448]
This commit is contained in:
@@ -139,8 +139,8 @@ class DBBackup
|
|||||||
|
|
||||||
// Store the results in a temporary file
|
// Store the results in a temporary file
|
||||||
$sTmpFileName = self::EscapeShellArg($sBackupFileName);
|
$sTmpFileName = self::EscapeShellArg($sBackupFileName);
|
||||||
$sCommand = "$sMySQLDump --opt --default-character-set=utf8 --add-drop-database --host=$sHost --user=$sUser --password=$sPwd --result-file=$sTmpFileName $sDBName $sTables 2>&1";
|
$sCommand = "$sMySQLDump --verbose --opt --default-character-set=utf8 --add-drop-database --host=$sHost --user=$sUser --password=$sPwd --result-file=$sTmpFileName $sDBName $sTables 2>&1";
|
||||||
$sCommandDisplay = "$sMySQLDump --opt --default-character-set=utf8 --add-drop-database --host=$sHost --user=xxxxx --password=xxxxx --result-file=$sTmpFileName $sDBName $sTables";
|
$sCommandDisplay = "$sMySQLDump --verbose --opt --default-character-set=utf8 --add-drop-database --host=$sHost --user=xxxxx --password=xxxxx --result-file=$sTmpFileName $sDBName $sTables";
|
||||||
|
|
||||||
// Now run the command for real
|
// Now run the command for real
|
||||||
SetupPage::log("Info - Executing command: $sCommandDisplay");
|
SetupPage::log("Info - Executing command: $sCommandDisplay");
|
||||||
|
|||||||
Reference in New Issue
Block a user