Skip to content

rubenbe/borgbase-docker

Repository files navigation

Borgbase docker image

Building

docker build -t backup .

Running

docker run --read-only -it -v ./config/:/config/borgmatic/:z -v ./borgrepo/:/repo:Z -v ./storage/:/storage:Z,ro -v ./cache/:/cache:Z -e 'BORGBASE_KEY=<borgbase create-only API key>' -e 'BORGBASE_NAME=<backupname>' backup