From aa5f2d5d8de45fba7d61130e33e65815fd7a049d Mon Sep 17 00:00:00 2001 From: Manu <3916435+m3nu@users.noreply.github.com> Date: Thu, 18 Feb 2021 23:58:24 +0800 Subject: [PATCH] Prettier default archive timestamps (#61) --- templates/config.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/config.yaml.j2 b/templates/config.yaml.j2 index 94de878..a5bcf27 100644 --- a/templates/config.yaml.j2 +++ b/templates/config.yaml.j2 @@ -94,7 +94,7 @@ storage: # also specify a prefix in the retention section to avoid accidental pruning of # archives with a different archive name format. And you should also specify a # prefix in the consistency section as well. - archive_name_format: '{hostname}-{now}' + archive_name_format: '{hostname}-{now:%Y-%m-%d-%H%M%S}' # Bypass Borg error about a repository that has been moved. relocated_repo_access_is_ok: {{ borgmatic_relocated_repo_access_is_ok }}