mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-13 07:53:20 -05:00
Update db.js
Updated failure string
This commit is contained in:
parent
72afaaa908
commit
e79b2b8070
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…
Reference in New Issue
Block a user