From 02320562191c88e1218f9fbe94621d4a31ed6df0 Mon Sep 17 00:00:00 2001 From: si458 Date: Wed, 14 Feb 2024 13:44:23 +0000 Subject: [PATCH] add extra defaults and descriptions to schema Signed-off-by: si458 --- meshcentral-config-schema.json | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/meshcentral-config-schema.json b/meshcentral-config-schema.json index 6d7969dc..645d3213 100644 --- a/meshcentral-config-schema.json +++ b/meshcentral-config-schema.json @@ -803,24 +803,37 @@ }, "autoBackup": { "type": "object", + "description": "Enable automatic backups of your meshcentral-data", "properties": { "mongoDumpPath": { - "type": "string" + "type": "string", + "default": "mongodump", + "description": "The file path of where \"mongodump\" is located. Default is \"mongodump\"" }, "mysqlDumpPath": { - "type": "string" + "type": "string", + "default": "mysqldump", + "description": "The file path of where \"mysqldump\" is located. Default is \"mysqldump\"" }, "backupIntervalHours": { - "type": "integer" + "type": "integer", + "default": 24, + "description": "How often should the autobackup run in hours from the second meshcentral starts up? Default is every 24 hours" }, "keepLastDaysBackup": { - "type": "integer" + "type": "integer", + "default": 10, + "description": "How many days of backups should the autobackup keep? Default is 10 Days worth" }, "zipPassword": { - "type": "string" + "type": "string", + "default": null, + "description": "When specified, the ZIP backups will be password protected with the zipPassword" }, "backupPath": { - "type": "string" + "type": "string", + "default": "meshcentral-backups", + "description": "The file path where backup files are kept. The default is \"meshcentral-backups\" which sits next to \"meshcentral-data\"." }, "googleDrive": { "type": "object", @@ -2554,7 +2567,8 @@ }, "filepath": { "type": "string", - "description": "The file path where recording files are kept." + "default": "meshcentral-recordings", + "description": "The file path where recording files are kept. The default is \"meshcentral-recordings\" which sits next to \"meshcentral-data\"." }, "index": { "type": "boolean",