Skip to content

Commit

Permalink
remove recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
nihaldivyam committed Mar 28, 2024
1 parent 5329ad9 commit 119dfcc
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 @@ -137,7 +137,7 @@ function aws_upload_dir {
[[ ! -z "${LOGICAL_BACKUP_S3_REGION}" ]] && args+=("--region=${LOGICAL_BACKUP_S3_REGION}")

echo "Uploading dump dir to s3"
aws s3 cp "$1" "$PATH_TO_BACKUP" --recursive "${args[@]//\'/}"
aws s3 cp "$1" "$PATH_TO_BACKUP" "${args[@]//\'/}"
}
function gcs_upload {
PATH_TO_BACKUP=gs://${LOGICAL_BACKUP_S3_BUCKET}"/"${POSTGRES_OPERATOR}"/"${LOGICAL_BACKUP_S3_BUCKET_SCOPE_SUFFIX}"/logical_backups/"$(date +%s).sql.gz
Expand Down

0 comments on commit 119dfcc

Please sign in to comment.