Browse Source

Merge pull request #58 from dextervip/patch-1

Remove hard aws credentials restriction
pull/60/head
Johannes Schickling 8 years ago
committed by GitHub
parent
commit
f447886746
  1. 6
      mysql-backup-s3/backup.sh

6
mysql-backup-s3/backup.sh

@ -3,13 +3,11 @@
set -e set -e
if [ "${S3_ACCESS_KEY_ID}" == "**None**" ]; then if [ "${S3_ACCESS_KEY_ID}" == "**None**" ]; then
echo "You need to set the S3_ACCESS_KEY_ID environment variable."
exit 1
echo "Warning: You did not set the S3_ACCESS_KEY_ID environment variable."
fi fi
if [ "${S3_SECRET_ACCESS_KEY}" == "**None**" ]; then if [ "${S3_SECRET_ACCESS_KEY}" == "**None**" ]; then
echo "You need to set the S3_SECRET_ACCESS_KEY environment variable."
exit 1
echo "Warning: You did not set the S3_SECRET_ACCESS_KEY environment variable."
fi fi
if [ "${S3_BUCKET}" == "**None**" ]; then if [ "${S3_BUCKET}" == "**None**" ]; then

Loading…
Cancel
Save