Skip to content
This repository has been archived by the owner on Sep 12, 2020. It is now read-only.

Latest commit

 

History

History
27 lines (19 loc) · 1.06 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.06 KB

NO LONGER BEING MAINTAINED

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" ...