Two modes of operation
Run as a deployment, supercronic inside the container will initiates the backup
choose CRON=hourly|daily|weekly I use minutely for my test.
Run as a job trigger , executes /backup.sh directly
- MONGO_SERVER=mongodb
- PREFIX=backup/mongo
- S3_BUCKET
CRON=hourly|daily|weekly (or not set to run standalone command)
Make sure you have write access to ${S3_BUCKET}