mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-29 09:43:56 +03:00
add extra info to backupconfig
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
d2e4f12ea3
commit
d81c00c0b0
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'; }
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user