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

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

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
```