mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-09 13:39:42 -05:00
add extra info to backupconfig
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
11
db.js
11
db.js
@@ -3117,6 +3117,17 @@ module.exports.CreateDB = function (parent, func) {
|
|||||||
if (typeof parent.config.settings.autobackup.mysqldumppath != 'string') { r += 'Bad mysqldump type\r\n'; }
|
if (typeof parent.config.settings.autobackup.mysqldumppath != 'string') { r += 'Bad mysqldump type\r\n'; }
|
||||||
else { r += parent.config.settings.autobackup.mysqldumppath + '\r\n'; }
|
else { r += parent.config.settings.autobackup.mysqldumppath + '\r\n'; }
|
||||||
}
|
}
|
||||||
|
if (typeof parent.config.settings.autobackup.s3 == 'object') {
|
||||||
|
r += 'S3 Backups: Enabled';
|
||||||
|
}
|
||||||
|
if (typeof parent.config.settings.autobackup.webdav == 'object') {
|
||||||
|
r += 'WebDAV Backups: Enabled';
|
||||||
|
}
|
||||||
|
if (typeof parent.config.settings.autobackup.googledrive == 'object') {
|
||||||
|
r += 'Google Drive Backups: Enabled';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
|
|||||||
Reference in New Issue
Block a user