Simple duplicity container
duplicity() {
docker run --rm -it \
-v "/etc/localtime:/etc/localtime:ro" \
-v "/data_to_backup:/data:ro" \
-v "$HOME/mydata/cache:/root/.cache" \
-e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" \
-e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" \
-h duplicity-docker-container \
volkerfr/duplicity "$@"
}
Then run duplicity as usual while pointing files to /data
Content type
Image
Digest
Size
142.5 MB
Last updated
over 5 years ago
docker pull volkerfr/duplicity