From bca489a6202652475083f4f6d904face8cacf3c6 Mon Sep 17 00:00:00 2001 From: "pulsar89.5" Date: Tue, 19 Dec 2023 15:50:13 +0100 Subject: [PATCH] feat: New config syntax --- templates/config.yaml.j2 | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/templates/config.yaml.j2 b/templates/config.yaml.j2 index ded582b..4f7dfca 100644 --- a/templates/config.yaml.j2 +++ b/templates/config.yaml.j2 @@ -29,15 +29,13 @@ consistency: frequency: {{ check.frequency }} {% endfor %} -hooks: - healthchecks: - ping_url: {{ borgmatic_healthchecks }} - send_logs: false - states: - - finish - - fail +healthchecks: + ping_url: {{ borgmatic_healthchecks }} + send_logs: false + states: + - finish + - fail -retention: - keep_daily: {{ borgmatic_retention.daily }} - keep_monthly: {{ borgmatic_retention.monthly }} - keep_weekly: {{ borgmatic_retention.weekly }} +keep_daily: {{ borgmatic_retention.daily }} +keep_monthly: {{ borgmatic_retention.monthly }} +keep_weekly: {{ borgmatic_retention.weekly }}