From cdfb80f9e2a95ff6d21a064136096f6042999efe Mon Sep 17 00:00:00 2001 From: "pulsar89.5" Date: Fri, 28 Jul 2023 09:03:59 +0200 Subject: [PATCH] [EVO] Utiliser la nouvelle syntaxe --- templates/config.yaml.j2 | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/templates/config.yaml.j2 b/templates/config.yaml.j2 index 7646025..813b7b0 100644 --- a/templates/config.yaml.j2 +++ b/templates/config.yaml.j2 @@ -1,5 +1,13 @@ --- +exclude_patterns: {{ borgmatic_exclude_patterns }} +repositories: {{ borgmatic_repositories }} +source_directories: {{ borgmatic_source_directories }} + +archive_name_format: {{ borgmatic_name }} +compression: {{ borgmatic_compression }} +encryption_passphrase: {{ borgmatic_passphrase }} + consistency: checks: {{ borgmatic_checks }} @@ -8,17 +16,7 @@ hooks: ping_url: {{ borgmatic_healthchecks }} send_logs: false -location: - exclude_patterns: {{ borgmatic_exclude_patterns }} - repositories: {{ borgmatic_repositories }} - source_directories: {{ borgmatic_source_directories }} - retention: keep_daily: {{ borgmatic_retention.daily }} keep_monthly: {{ borgmatic_retention.monthly }} keep_weekly: {{ borgmatic_retention.weekly }} - -storage: - archive_name_format: {{ borgmatic_name }} - compression: {{ borgmatic_compression }} - encryption_passphrase: {{ borgmatic_passphrase }}