diff --git a/scripts/backup.sh b/scripts/backup.sh index b68a5b5..f5f92b7 100755 --- a/scripts/backup.sh +++ b/scripts/backup.sh @@ -33,7 +33,7 @@ spec: path: ${NFS_PATH} containers: - name: backup - image: alpine:3.20 + image: postgres:18-alpine volumeMounts: - name: nfs-backup mountPath: /backup @@ -57,7 +57,7 @@ spec: args: - | set -e - apk add --no-cache postgresql16-client curl ca-certificates + apk add --no-cache curl ca-certificates STAMP="${BACKUP_NAME}" DIR="/backup/\${STAMP}" diff --git a/scripts/restore.sh b/scripts/restore.sh index dca88b1..f07fd3d 100755 --- a/scripts/restore.sh +++ b/scripts/restore.sh @@ -37,7 +37,7 @@ spec: path: ${NFS_PATH} containers: - name: restore - image: alpine:3.20 + image: postgres:18-alpine volumeMounts: - name: nfs-backup mountPath: /backup @@ -61,7 +61,7 @@ spec: args: - | set -e - apk add --no-cache postgresql16-client curl ca-certificates + apk add --no-cache curl ca-certificates DIR="/backup/${BACKUP_NAME}" if [ ! -f "\${DIR}/stonks.pgdump" ]; then