Skip to content

Commit

Permalink
Update restore.sh
Browse files Browse the repository at this point in the history
Printing
  • Loading branch information
richardwiden authored Jan 31, 2024
1 parent edf690e commit bf03e11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ fi
DEST_FILE=${SRC_FILE}

# shellcheck disable=SC2086
echo "aws $AWS_ARGS s3 cp s3://$S3_BUCKET/$S3_PREFIX/$SRC_FILE $DEST_FILE"
aws $AWS_ARGS s3 cp s3://$S3_BUCKET/$S3_PREFIX/$SRC_FILE $DEST_FILE || exit 2
if [ "${ENCRYPTION_PASSWORD}" = "**None**" ]; then
echo "File not encrypted"
Expand All @@ -49,4 +50,4 @@ fi

echo "SQL restore finished"
echo "-----"
exit 0
exit 0

0 comments on commit bf03e11

Please sign in to comment.