This container is using the backup gem.
The image is based on ruby:slim.
This container has support for (and is used with):
- Databases: MariaDB client.
- Email Notifications: Amazon SES (no sendmail)
- Storage: Local and Amazon S3
- Compression: gzip
- Encryption: OpenSSL
- a valid configuration under
./config
, mapped to /etc/backup - access to all the volumes
- links to the non-exposed database volumes
An automated build is available at freqout/backup:
$ docker pull freqout/backup
Example run:
$ docker run -it -v /srv/www/mywebsite:/srv/www/mywebsite \
-v /srv/backups-docker:/srv/backups-docker \
-v `pwd`/config:/etc/backup \
--rm \
--link mywebsite_db_1:db \
freqout/backup mywebsite_com
I took initial ideas from this implementation of the Backup gem, but many choices weren't good for me.