Sign inSign up

jmtulloss/docker-lloyd

By jmtulloss

Updated almost 11 years ago

Image
0

997

jmtulloss/docker-lloyd repository overview

docker-lloyd

Lloyd's Coffee House was the first marine insurance company.

This tools backups Docker volume containers and stores them on s3.

To use it, run:

$ docker run -v /var/run/docker.sock:/docker.sock \
         -v /var/lib/docker/vfs/dir:/var/lib/docker/vfs/dir \
         -e ACCESS_KEY=... -e SECRET_KEY=... docker-backup-daemon \
          s3://<BUCKET> container-a container-b container-c...

This will run docker-backup, gzip and upload a tarball named after the container to S3.

See docker-backup on how to restore a backup.

The Dockerfile passes command line options to docker-backup by setting the OPTS environment variable. If you need to override/change those, you can set it on the command line:

$ docker run -e OPTS="-addr=/foo/docker.sock" ...

Tag summary

Content type

Image

Digest

sha256:3fd561966

Size

321.8 MB

Last updated

almost 11 years ago

docker pull jmtulloss/docker-lloyd