phase 17: fix backup/restore scripts — use postgres:18-alpine for pg_dump version match
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user