From dd13045ca62f587197b53b71e39d4a292c265b43 Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Sun, 12 Apr 2026 14:41:08 -0700 Subject: [PATCH] =?UTF-8?q?phase=2017:=20fix=20backup/restore=20scripts=20?= =?UTF-8?q?=E2=80=94=20use=20postgres:18-alpine=20for=20pg=5Fdump=20versio?= =?UTF-8?q?n=20match?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/backup.sh | 4 ++-- scripts/restore.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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