Restic clone for my possible forks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cimnine f28c8bc1c2 Multistage Docker build 1 year ago
..
Dockerfile Multistage Docker build 1 year ago
README.md add docker image 6 years ago
build.sh Multistage Docker build 1 year ago

README.md

Docker image

Build

From the root of this repository run:

./docker/build.sh

image name will be restic/restic:latest

Run

Set environment variable RESTIC_REPOSITORY and map volume to directories and files like:

docker run --rm -ti \
    -v $HOME/.restic/passfile:/pass \
    -v $HOME/importantdirectory:/data \
    -e RESTIC_REPOSITORY=rest:https://user:pass@hostname/ \
    restic/restic -p /pass backup /data