Public Repository

Last pushed: a year ago
Short Description
https://bitbucket.org/satulovsky/mongodb-sync
Full Description

Please read https://bitbucket.org/satulovsky/mongodb-sync for a detailed explanation on usage. This image is preconfigured to backup files, for a sync'ing please change the CMD to 'sync' in the Dockerfile and rebuild the image.

Changes in this fork:

  • An AWS credential file is created using the environment variables supplied, otherwise I was getting authentication errors when trying to save backups to an AWS S3 buckets.
  • Old backups (mongo dumps) in the S3 bucket are deleted except for the last N backups. N is assigned the 'MAX_BACKUPS' environment variable, but you could customize it with a different value (backup.sh file). This avoids having to set expiration policies for files in your S3 bucket.
Docker Pull Command
Owner
satulovsky

Comments (0)