Use new backup removal policy

This commit is contained in:
Clemens Geibel 2022-07-15 15:02:01 +02:00
parent a6b9c24c03
commit e6488d1f88
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
FROM domaindrivenarchitecture/dda-backup
FROM domaindrivenarchitecture/dda-backup:1.0.4
# Prepare Entrypoint Script
ADD resources /tmp

View file

@ -5,7 +5,8 @@ set -o pipefail
function main() {
file_env AWS_ACCESS_KEY_ID
file_env AWS_SECRET_ACCESS_KEY
file_env RESTIC_DAYS_TO_KEEP 14
file_env RESTIC_DAYS_TO_KEEP 30
file_env RESTIC_MONTHS_TO_KEEP 12
backup-fs-from-directory '/var/backups/' 'export/'
}