feat: optionally disable config bootstrap
This commit is contained in:
parent
0055de08a4
commit
f2ce2f387f
2 changed files with 9 additions and 1 deletions
|
@ -91,7 +91,8 @@ def run_create(
|
||||||
borgmatic.hooks.dump.DATABASE_HOOK_NAMES,
|
borgmatic.hooks.dump.DATABASE_HOOK_NAMES,
|
||||||
global_arguments.dry_run,
|
global_arguments.dry_run,
|
||||||
)
|
)
|
||||||
create_borgmatic_manifest(config, global_arguments.used_config_paths, global_arguments.dry_run)
|
if config.get('store_config_files', True):
|
||||||
|
create_borgmatic_manifest(config, global_arguments.used_config_paths, global_arguments.dry_run)
|
||||||
stream_processes = [process for processes in active_dumps.values() for process in processes]
|
stream_processes = [process for processes in active_dumps.values() for process in processes]
|
||||||
|
|
||||||
json_output = borgmatic.borg.create.create_archive(
|
json_output = borgmatic.borg.create.create_archive(
|
||||||
|
|
|
@ -210,6 +210,13 @@ properties:
|
||||||
"borgmatic restore" from finding any database dumps created before
|
"borgmatic restore" from finding any database dumps created before
|
||||||
the change. Defaults to ~/.borgmatic
|
the change. Defaults to ~/.borgmatic
|
||||||
example: /tmp/borgmatic
|
example: /tmp/borgmatic
|
||||||
|
store_config_files:
|
||||||
|
type: boolean
|
||||||
|
description: |
|
||||||
|
Store configuration files used to create a backup in the backup
|
||||||
|
itself. Defaults to true. Changing this to false prevents "borgmatic
|
||||||
|
bootstrap" from extracting configuration files from the backup.
|
||||||
|
example: true
|
||||||
source_directories_must_exist:
|
source_directories_must_exist:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: |
|
description: |
|
||||||
|
|
Loading…
Reference in a new issue