Fixed MongoDumpPath in schema and sample config.
This commit is contained in:
parent
9d052cb0e4
commit
87896b5f0d
|
@ -11,7 +11,6 @@
|
|||
"mongoDb": { "type": "string" },
|
||||
"mongoDbName": { "type": "string" },
|
||||
"mongoDbChangeStream": { "type": "boolean" },
|
||||
"mongoDumpPath": { "type": "string" },
|
||||
"WANonly": { "type": "boolean", "default": false, "description": "When enabled, only MeshCentral WAN features are enabled and agents will connect to the server using a well known DNS name." },
|
||||
"LANonly": { "type": "boolean", "default": false, "description": "When enabled, only MeshCentral LAN features are enabled and agents will find the server using multicast LAN packets." },
|
||||
"maintenanceMode": { "type": "boolean", "default": false, "description": "When enabled the server is in maintenance mode, only administrators can login. Use the maintenance command in server console to change." },
|
||||
|
@ -109,6 +108,7 @@
|
|||
"autoBackup": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"mongoDumpPath": { "type": "string" },
|
||||
"backupIntervalHours": { "type": "integer" },
|
||||
"keepLastDaysBackup": { "type": "integer" },
|
||||
"zipPassword": { "type": "string" },
|
||||
|
@ -117,19 +117,44 @@
|
|||
"type": "object",
|
||||
"description": "Enabled automated upload of the server backups to a Google Drive account, once enabled you need to go in \"My Server\" tab as administrator to associate the account.",
|
||||
"properties": {
|
||||
"folderName": { "type": "integer", "default": "MeshCentral-Backups", "description": "The name of the folder to create in the Google Drive account." },
|
||||
"maxFiles": { "type": "string", "default": null, "description": "The maximum number of files to keep in the Google Drive folder, older files will be removed if needed." }
|
||||
"folderName": {
|
||||
"type": "integer",
|
||||
"default": "MeshCentral-Backups",
|
||||
"description": "The name of the folder to create in the Google Drive account."
|
||||
},
|
||||
"maxFiles": {
|
||||
"type": "string",
|
||||
"default": null,
|
||||
"description": "The maximum number of files to keep in the Google Drive folder, older files will be removed if needed."
|
||||
}
|
||||
}
|
||||
},
|
||||
"webDAV": {
|
||||
"type": "object",
|
||||
"description": "Enabled automated upload of the server backups to a WebDAV account.",
|
||||
"properties": {
|
||||
"url": { "type": "string", "description": "WebDAV account URL." },
|
||||
"username": { "type": "string", "description": "WebDAV account username." },
|
||||
"password": { "type": "string", "description": "WebDAV account password." },
|
||||
"folderName": { "type": "integer", "default": "MeshCentral-Backups", "description": "The name of the folder to create in the WebDAV account." },
|
||||
"maxFiles": { "type": "string", "default": null, "description": "The maximum number of files to keep in the WebDAV folder, older files will be removed if needed." }
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "WebDAV account URL."
|
||||
},
|
||||
"username": {
|
||||
"type": "string",
|
||||
"description": "WebDAV account username."
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "WebDAV account password."
|
||||
},
|
||||
"folderName": {
|
||||
"type": "integer",
|
||||
"default": "MeshCentral-Backups",
|
||||
"description": "The name of the folder to create in the WebDAV account."
|
||||
},
|
||||
"maxFiles": {
|
||||
"type": "string",
|
||||
"default": null,
|
||||
"description": "The maximum number of files to keep in the WebDAV folder, older files will be removed if needed."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
"_mongoDb": "mongodb://127.0.0.1:27017",
|
||||
"_mongoDbName": "meshcentral",
|
||||
"_mongoDbChangeStream": true,
|
||||
"_mongoDumpPath": "C:\\Program Files\\MongoDB\\Server\\4.2\\bin\\mongodump.exe",
|
||||
"_WANonly": true,
|
||||
"_LANonly": true,
|
||||
"_sessionKey": "MyReallySecretPassword1",
|
||||
|
@ -83,6 +82,7 @@
|
|||
]
|
||||
},
|
||||
"_autoBackup": {
|
||||
"_mongoDumpPath": "C:\\Program Files\\MongoDB\\Server\\4.2\\bin\\mongodump.exe",
|
||||
"backupIntervalHours": 24,
|
||||
"keepLastDaysBackup": 10,
|
||||
"zipPassword": "MyReallySecretPassword3",
|
||||
|
|
Loading…
Reference in New Issue