Commit 53950bd4 authored by Rémi - Le Filament's avatar Rémi - Le Filament
Browse files

[IMP] add name for cache

parent e9327ff5
......@@ -13,5 +13,5 @@ export SWIFT_REGIONNAME="{{ swift_odoo_regionname }}"
export PASSPHRASE="{{ odoo_backup_pass }}"
duplicity --full-if-older-than 6D --volsize 200 --include /home/odoo/.local/share/Odoo/filestore/ --include /tmp/backup-$PGDATABASE.pgdump --exclude '**' / swift://odoo_{{ inventory_hostname|lower }}
duplicity --name backup --full-if-older-than 6D --volsize 200 --include /home/odoo/.local/share/Odoo/filestore/ --include /tmp/backup-$PGDATABASE.pgdump --exclude '**' / swift://odoo_{{ inventory_hostname|lower }}
duplicity remove-all-but-n-full 5 --force swift://odoo_{{ inventory_hostname|lower }}
......@@ -13,5 +13,5 @@ export SWIFT_REGIONNAME="{{ swift_odoo2_regionname }}"
export PASSPHRASE="{{ odoo_backup_pass }}"
duplicity --full-if-older-than 6D --volsize 200 --include /home/odoo/.local/share/Odoo/filestore/ --include /tmp/backup-$PGDATABASE.pgdump --exclude '**' / swift://odoo_{{ inventory_hostname|lower }}
duplicity --name backup2 --full-if-older-than 6D --volsize 200 --include /home/odoo/.local/share/Odoo/filestore/ --include /tmp/backup-$PGDATABASE.pgdump --exclude '**' / swift://odoo_{{ inventory_hostname|lower }}
duplicity remove-all-but-n-full 5 --force swift://odoo_{{ inventory_hostname|lower }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment