Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 688 Bytes

README.md

File metadata and controls

29 lines (16 loc) · 688 Bytes

Mongo backup

Docker Repository on Quay

Operations

Two modes of operation

Crond

Run as a deployment, supercronic inside the container will initiates the backup

choose CRON=hourly|daily|weekly I use minutely for my test.

Standalone

Run as a job trigger , executes /backup.sh directly

Environment variables

  • 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}