Skip to content

Commit

Permalink
sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
nihaldivyam committed Mar 28, 2024
1 parent d1c8b09 commit 6f8e30d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions logical-backup/dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,10 @@ if [[ "$LOGICAL_BACKUP_PROVIDER" == "s3" && -z "$PGDATABASE" ]]; then
dump_db $dbname
echo "Uploading directory /tmp/db-$dbname to $PATH_TO_BACKUP/$dbname..."
aws_upload_dir "/tmp/db-$dbname" "$PATH_TO_BACKUP/$dbname"
sleep 10000
echo "Cleaning up /tmp/db-$dbname..."
rm -rf "/tmp/db-$dbname"
done < /tmp/database-list

sleep 10000
rm /tmp/database-list

exit $ERRORCOUNT
Expand Down

0 comments on commit 6f8e30d

Please sign in to comment.