diff --git a/templates/push_gitlab_backup.sh.j2 b/templates/push_gitlab_backup.sh.j2 index 187dd70ff369ab61f14cab3bd0dfd2b2fda8e081..3c2a6ac006858abb22b1649290d740adf85975b5 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 5cfc556985cbcb8a97e4142168d6019b65ef01ce..ad3cee0df40d43a836f46ba40137c7372b594453 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 }}