add extra info to backupconfig

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2024-09-10 21:54:44 +01:00
parent d2e4f12ea3
commit d81c00c0b0

11
db.js
View File

@ -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;