Public Repository

Last pushed: 5 months ago
Short Description
Simple duplicity image including s3 support
Full Description

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
Docker Pull Command
Owner
alexgleith