Pin dda-backup to 1.0.5

This commit is contained in:
Clemens Geibel 2022-07-22 11:22:54 +02:00
parent a9fab1d963
commit 1e9cd59b50
2 changed files with 4 additions and 3 deletions

View file

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

View file

@ -1,6 +1,6 @@
#!/bin/bash
set -xo pipefail
set -o pipefail
function main() {
@ -11,7 +11,8 @@ function main() {
file_env POSTGRES_DB
file_env POSTGRES_PASSWORD
file_env POSTGRES_USER
file_env RESTIC_DAYS_TO_KEEP 14
file_env RESTIC_DAYS_TO_KEEP 30
file_env RESTIC_MONTHS_TO_KEEP 12
backup-roles 'oc_'
backup-db-dump