jumpbytehq / mongo-s3-backup

Docker container to backup a mongo database to s3

Home Page:https://registry.hub.docker.com/u/mondora/mongo-s3-backup/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mongo S3 Backup

This container runs a cron job which:

  • dumps a mongo database using mongodump
  • archives the dump and uploads it to Amazon S3

You can configure the execution of the above steps by setting the following environment variables:

  • MONGO_HOST
  • MONGO_PORT, optional, defaults to 27017
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • S3_BUCKET
  • BACKUP_FILENAME_PREFIX, optional, defaults to mongo_backup
  • BACKUP_FILENAME_DATE_FORMAT, optional, defaults to %Y%m%d
  • CRON_SCHEDULE, optional, defaults to 0 1 * * *

About

Docker container to backup a mongo database to s3

https://registry.hub.docker.com/u/mondora/mongo-s3-backup/


Languages

Language:Shell 100.0%