From 32def3f51aa1da2b97c57fd3c0bf7e05f862fef1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Tue, 3 Aug 2021 12:28:51 +0200
Subject: [PATCH] [IMP] add name for cache

---
 templates/push_gitlab_backup.sh.j2  | 2 +-
 templates/push_gitlab_backup2.sh.j2 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/push_gitlab_backup.sh.j2 b/templates/push_gitlab_backup.sh.j2
index 187dd70..3c2a6ac 100644
--- a/templates/push_gitlab_backup.sh.j2
+++ b/templates/push_gitlab_backup.sh.j2
@@ -10,5 +10,5 @@ export SWIFT_REGIONNAME="{{ swift_odoo_regionname }}"
 
 export PASSPHRASE="{{ git_backup_pass }}"
 
-duplicity full --volsize 200 {{ tmp_backup_dir }} swift://gitlab_{{ inventory_hostname|lower }}
+duplicity full --name backup --volsize 200 {{ tmp_backup_dir }} swift://gitlab_{{ inventory_hostname|lower }}
 duplicity remove-all-but-n-full 30 --force swift://gitlab_{{ inventory_hostname|lower }}
diff --git a/templates/push_gitlab_backup2.sh.j2 b/templates/push_gitlab_backup2.sh.j2
index 5cfc556..ad3cee0 100644
--- a/templates/push_gitlab_backup2.sh.j2
+++ b/templates/push_gitlab_backup2.sh.j2
@@ -10,5 +10,5 @@ export SWIFT_REGIONNAME="{{ swift_odoo2_regionname }}"
 
 export PASSPHRASE="{{ git_backup_pass }}"
 
-duplicity full --volsize 200 {{ tmp_backup_dir }} swift://gitlab_{{ inventory_hostname|lower }}
+duplicity full --name backup2 --volsize 200 {{ tmp_backup_dir }} swift://gitlab_{{ inventory_hostname|lower }}
 duplicity remove-all-but-n-full 30 --force swift://gitlab_{{ inventory_hostname|lower }}
-- 
GitLab