mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[backup] improvement: remove_method option
This commit is contained in:
@@ -3,6 +3,9 @@ from bauh.commons.config import YAMLConfigManager
|
||||
|
||||
FILE_PATH = f'{CONFIG_DIR}/config.yml'
|
||||
|
||||
BACKUP_DEFAULT_REMOVE_METHOD = 'self'
|
||||
BACKUP_REMOVE_METHODS = {BACKUP_DEFAULT_REMOVE_METHOD, 'all'}
|
||||
|
||||
|
||||
class CoreConfigManager(YAMLConfigManager):
|
||||
|
||||
@@ -63,7 +66,8 @@ class CoreConfigManager(YAMLConfigManager):
|
||||
'downgrade': None,
|
||||
'upgrade': None,
|
||||
'mode': 'incremental',
|
||||
'type': 'rsync'
|
||||
'type': 'rsync',
|
||||
'remove_method': 'self'
|
||||
},
|
||||
'boot': {
|
||||
'load_apps': True
|
||||
|
||||
Reference in New Issue
Block a user