mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-09 08:15:13 +03:00
data provider: add automatic backups
Automatic backup are enabled by default, a new backup will be saved each day at midnight. The backups_path setting was moved from the httpd section to the data_provider one, please adjust your configuration file and or your env vars Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -203,7 +203,13 @@
|
||||
"update_mode": 0,
|
||||
"create_default_admin": false,
|
||||
"naming_rules": 0,
|
||||
"is_shared": 0
|
||||
"is_shared": 0,
|
||||
"backups_path": "backups",
|
||||
"auto_backup": {
|
||||
"enabled": true,
|
||||
"hour": "0",
|
||||
"day_of_week": "*"
|
||||
}
|
||||
},
|
||||
"httpd": {
|
||||
"bindings": [
|
||||
@@ -248,7 +254,6 @@
|
||||
"templates_path": "templates",
|
||||
"static_files_path": "static",
|
||||
"openapi_path": "openapi",
|
||||
"backups_path": "backups",
|
||||
"web_root": "",
|
||||
"certificate_file": "",
|
||||
"certificate_key_file": "",
|
||||
|
||||
Reference in New Issue
Block a user