From 8efb767ce262524801b5da304f4233b1060863f2 Mon Sep 17 00:00:00 2001 From: nihaldivyam Date: Tue, 19 Mar 2024 17:38:09 +0700 Subject: [PATCH] update funsiton --- logical-backup/dump.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logical-backup/dump.sh b/logical-backup/dump.sh index 94d5c8e..9fdb370 100755 --- a/logical-backup/dump.sh +++ b/logical-backup/dump.sh @@ -158,7 +158,7 @@ PATH_TO_BACKUP="${POSTGRES_OPERATOR}/"$SCOPE$LOGICAL_BACKUP_S3_BUCKET_SCOPE_SUFF exit $ERRORCOUNT else - dump | compress | upload + dump_db | compress | upload [[ ${PIPESTATUS[0]} != 0 || ${PIPESTATUS[1]} != 0 || ${PIPESTATUS[2]} != 0 ]] && (( ERRORCOUNT += 1 )) set +x exit $ERRORCOUNT