mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-18 17:15:13 +01:00
Fix default backup config
This commit is contained in:
parent
8dd82f4111
commit
6ff561f40b
@ -208,7 +208,7 @@ class ManagementController:
|
|||||||
def add_default_backup_config(self, server_id, backup_path):
|
def add_default_backup_config(self, server_id, backup_path):
|
||||||
return self.management_helper.add_backup_config(
|
return self.management_helper.add_backup_config(
|
||||||
{
|
{
|
||||||
"backup_name": "afdgahah",
|
"backup_name": "Default Backup",
|
||||||
"backup_location": Helpers.wtol_path(backup_path),
|
"backup_location": Helpers.wtol_path(backup_path),
|
||||||
"max_backups": 0,
|
"max_backups": 0,
|
||||||
"before": "",
|
"before": "",
|
||||||
@ -217,6 +217,7 @@ class ManagementController:
|
|||||||
"shutdown": False,
|
"shutdown": False,
|
||||||
"server_id": server_id,
|
"server_id": server_id,
|
||||||
"excluded_dirs": [],
|
"excluded_dirs": [],
|
||||||
|
"default": True,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user