Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jrottenberg/mongobackup

Docker based mongobackup helper
https://github.com/jrottenberg/mongobackup

backup crond docker mongo-backup

Last synced: 19 days ago
JSON representation

Docker based mongobackup helper

Awesome Lists containing this project

README

        

# Mongo backup

[![Docker Repository on Quay](https://quay.io/repository/jrottenberg/mongobackup/status "Docker Repository on Quay")](https://quay.io/repository/jrottenberg/mongobackup)

## Operations
Two modes of operation

### Crond

Run as a deployment, [supercronic](https://github.com/aptible/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}