Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jrottenberg/mongobackup
- Owner: jrottenberg
- License: mit
- Created: 2018-01-16T04:10:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-25T18:27:41.000Z (over 6 years ago)
- Last Synced: 2024-10-29T15:15:00.018Z (3 months ago)
- Topics: backup, crond, docker, mongo-backup
- Language: Shell
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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_BUCKETCRON=hourly|daily|weekly (or not set to run standalone command)
Make sure you have write access to ${S3_BUCKET}