Sign inSign up

alexgleith/duplicity

By alexgleith

Updated over 8 years ago

Simple duplicity image including s3 support

Image
0

1.2K

alexgleith/duplicity repository overview

A simple dockerfile that builds a minimal Duplicity capability.

Usage examples

You can use duplicity in the normal way, see official documentation here.

Backup
docker run \
	-v ~/temp:/tmp/temp \
	-e PASSPHRASE='a duplicity key' \
	-e AWS_SECRET_ACCESS_KEY='EXAMPLESECRETACCESSKEY' \
	-e AWS_ACCESS_KEY_ID='ACCESSKEYEXAMPLE' \
	alexgleith/duplicity \
	duplicity --s3-use-new-style /tmp/temp/temp.txt s3+http://example-s3-repo
Restore
docker run \
	-v ~/temp:/tmp/temp \
	-e PASSPHRASE='a duplicity key' \
	-e AWS_SECRET_ACCESS_KEY='EXAMPLESECRETACCESSKEY' \
	-e AWS_ACCESS_KEY_ID='ACCESSKEYEXAMPLE' \
	alexgleith/duplicity \
	duplicity --s3-use-new-style s3+http://example-s3-repo /tmp/temp/restored.txt

Tag summary

Content type

Image

Digest

Size

119.1 MB

Last updated

over 8 years ago

docker pull alexgleith/duplicity