/docker-db-backup

Automatic periodic database backup. Currently supports MongoDB, MySQL and filesystem backups

Primary LanguageJavaScript

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.

make test