https://github.com/clems71/docker-db-backup
Automatic periodic database backup. Currently supports MongoDB, MySQL and filesystem backups
https://github.com/clems71/docker-db-backup
backup database docker mongodb mysql s3
Last synced: 2 months ago
JSON representation
Automatic periodic database backup. Currently supports MongoDB, MySQL and filesystem backups
- Host: GitHub
- URL: https://github.com/clems71/docker-db-backup
- Owner: clems71
- Created: 2016-11-02T23:24:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-30T22:09:01.000Z (about 9 years ago)
- Last Synced: 2025-10-09T03:11:39.610Z (8 months ago)
- Topics: backup, database, docker, mongodb, mysql, s3
- Language: JavaScript
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Introduction
This is a docker image that performs automated backups to AWS S3 on a periodic basis. It support MongoDB, MySQL and filesystem databases.
# Use it
## Supported environment variables
- `BACKUP_URLS` : a comma separated list of database URLs you want to backup periodically.
- `BACKUP_PERIOD` : a string to set the interval at which you want to perform backups. Default to `6h`.
- `BACKUP_SLACK_URL` : a Slack notification URL to be notified of backup status. No notification emitted if not set.
## Supported databases
`TODO`
# Test it
To launch automated tests, run the following command.
```bash
make test
```