Skip to content
Borg Backup Client Docker on Alpine
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Borg Backup Client Docker on Alpine

Source code on GitHub | Image on DockerHub

This is a docker image for borg backup based on Alpine linux.

It is intended to be used as a borg client, and not as a borg server (which requires a little more setup with sshd).

Quick Start

Download the files in the example folder, and then run:

$ docker-compose run init
$ docker-compose run backup
$ docker-compose run index
$ docker-compose run list initial-backup


$ docker run --rm -it \
  -v $PWD/back-me-up:/borg/source \
  -v $PWD/repo:/borg/repo \
  -v cache:/root/.cache/borg \
  -v config:/root/.config/borg \
  -v ssh:/root/.ssh \
  -v $PWD/keys/testkey_id_rsa:/root/.ssh/id_rsa:ro \
  -e BORG_REPO=/borg/repo \
  dannyben/borg-client init -e none

Known Issues

If you are getting a python warning Using a pure-python msgpack! This will result in lower performance. - this is a known issue in the borg Alpine package that will be fixed soon.

You can’t perform that action at this time.