Skip to content

Commit

Permalink
update funsiton
Browse files Browse the repository at this point in the history
  • Loading branch information
nihaldivyam committed Mar 19, 2024
1 parent c2d2479 commit 8efb767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logical-backup/dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8efb767

Please sign in to comment.