Borg Backup Client Docker on Alpine
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).
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
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.