From 119dfccd6796e6925caadd6d4655761cc6befcc7 Mon Sep 17 00:00:00 2001 From: nihaldivyam Date: Thu, 28 Mar 2024 19:03:54 +0530 Subject: [PATCH] remove recursive --- 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 dc91115..1ea6e49 100755 --- a/logical-backup/dump.sh +++ b/logical-backup/dump.sh @@ -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