istepanov / docker-mongodump

Docker image with mongodump, cron task and upload to AWS S3
https://hub.docker.com/repository/docker/istepanov/mongodump
MIT License
100 stars 78 forks source link

aws not found #14

Open talkblock opened 3 years ago

talkblock commented 3 years ago

it looks like the crontab path when the script is invoked does not find the aws command which exists in /usr/local/bin.. I had to update the backup.sh to use /usr/local/bin/aws otherwise the script exits due to set -eo pipefail