Sign inSign up

fekide/volumerize

By fekide

Updated over 3 years ago

Automated volume backups with duplicity

Image
3

1M+

fekide/volumerize repository overview

Feki.de Volumerize

(Fork from blacklabelops/volumerize)

Circle CI Open Issues Stars on GitHub Docker Stars Docker Pulls

Try in PWD

Backup and restore solution for Docker volume backups. It is based on the command line tool Duplicity. Dockerized and Parameterized for easier use and configuration.

This is not a tool that can safely clone and backup data from running databases. You should always stop all containers running on your data before doing backups. You can use pre- and postscripts to enable maintenance mode or similar. Always make sure you're not a victim of unexpected data corruption.

Also note that the easier the tools the easier it is to lose data! Always make sure the tool works correct by checking the backup data itself, e.g. S3 bucket. Check the configuration double time and enable some check options this image offers. E.g. attaching volumes read only.

Features:

  • Multiple Backends
  • Cron Schedule
  • Start and Stop Containers

Supported backends:

  • Filesystem
  • Amazon S3
  • DropBox
  • Google Drive
  • ssh/scp
  • rsync

and many more: Duplicity Supported Backends

Usage

You can make backups of your Docker application volume just by typing:

$ docker run --rm \
    --name volumerize \
    -v yourvolume:/source:ro \
    -v backup_volume:/backup \
    -v cache_volume:/volumerize-cache \
    -e "VOLUMERIZE_SOURCE=/source" \
    -e "VOLUMERIZE_TARGET=file:///backup" \
    fekide/volumerize backup

Hooks up your volume with the name yourvolume and backups to the volume backup_volume

Additional configuration

The full configuration is available in the README of the github repository.

Tag summary

Content type

Image

Digest

sha256:ad56863e7

Size

201.3 MB

Last updated

over 3 years ago

docker pull fekide/volumerize