From 51f03bc2d93615d1060f739f3488c98c95533967 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Tue, 2 Dec 2025 13:29:38 +0900 Subject: [PATCH] Used wrong stanza name variable in pgbackrest backup script It has to be stanza_name without the repo information --- bin/pgbackrest_backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pgbackrest_backup.sh b/bin/pgbackrest_backup.sh index 4a48aaf..1761557 100755 --- a/bin/pgbackrest_backup.sh +++ b/bin/pgbackrest_backup.sh @@ -196,7 +196,7 @@ while read -r stanza; do # build the call command CALL=( "sudo" "-u" "${sudo_user}" - "pgbackrest" "--type=${BACKUP_TYPE}" "--stanza=${stanza}" + "pgbackrest" "--type=${BACKUP_TYPE}" "--stanza=${stanza_name}" ); if [ -n "${stanza_repo}" ]; then CALL=("${CALL[@]}" "--repo=${stanza_repo}");