mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Update db.js
Updated failure string
This commit is contained in:
parent
72afaaa908
commit
e79b2b8070
1 changed files with 1 additions and 1 deletions
2
db.js
2
db.js
|
@ -1841,7 +1841,7 @@ module.exports.CreateDB = function (parent, func) {
|
|||
}
|
||||
output.on('close', function () {
|
||||
obj.performingBackup = false;
|
||||
if (func) { if (sqlDumpSuccess) { func('Auto-backup completed.'); } else { func('Auto-backup completed without mongodb database: ' + error); } }
|
||||
if (func) { if (sqlDumpSuccess) { func('Auto-backup completed.'); } else { func('Auto-backup completed without MySQL/MariaDB database: ' + error); } }
|
||||
obj.performCloudBackup(newAutoBackupPath + '.zip', func);
|
||||
setTimeout(function () { try { parent.fs.unlink(newBackupPath + '.sql', function () { }); } catch (ex) { console.log(ex); } }, 5000);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue