Fix backup hostname in forget
This commit is contained in:
parent
5b73dfa92b
commit
92acf1b0c1
2 changed files with 5 additions and 2 deletions
|
@ -59,8 +59,8 @@ _success
|
|||
|
||||
rm -rf "$BACKUP_LOCATION"
|
||||
|
||||
echo "forgetting old backups for $(hostname)"
|
||||
docker compose run --rm app forget --host "$(hostname)" --prune \
|
||||
echo "forgetting old backups for {{ ansible_facts.hostname }}"
|
||||
docker compose run --rm app forget --host "{{ ansible_facts.hostname }}" --prune \
|
||||
--keep-last 7 \
|
||||
--keep-daily 14 \
|
||||
--keep-weekly 16 \
|
||||
|
|
Reference in a new issue