Go to file
Grant Bevis 1efa500ae2
Merge pull request #13 from grantbevis/dependabot/github_actions/docker/build-push-action-3
Bump docker/build-push-action from 2 to 3
2022-05-27 08:51:27 +01:00
.github Merge pull request #13 from grantbevis/dependabot/github_actions/docker/build-push-action-3 2022-05-27 08:51:27 +01:00
.dockerignore Fix permissions 2022-01-01 23:49:58 -03:00
.gitignore Fix permissions 2022-01-01 23:49:58 -03:00
.pre-commit-config.yaml Add pre-commit configuration file 2022-01-01 23:27:35 -03:00
Dockerfile Pin alpine version to 3 2022-01-01 23:49:58 -03:00
LICENSE Create LICENSE 2022-02-12 14:34:20 +00:00
README.md Replace b3vis with grantbevis in example command in README 2022-03-05 13:08:10 +01:00
service.sh make sure ssh-host-keys get created during container start and are not 2020-05-28 12:07:29 +02:00
supervisord.conf make sure ssh-host-keys get created during container start and are not 2020-05-28 12:07:29 +02:00

README.md

Borg Backup Server Container

alt text

Description

My take on a Borgbackup Server as a Docker container to faciliate the backing up of remote machines using Borgbackup

Usage

I personally like to split my ssh keys out of the main container to make updates and management easier. To achieve this I create a persistent storage container;

docker run -d -v /home/borg/.ssh --name borg-keys-storage busybox:latest

  • Container Creation:
docker create \
  --name=borg-server \
  --restart=always \
  --volumes-from borg-keys-storage \
  -v path/to/backups:/backups \
  -p 2022:22 \
  ghcr.io/grantbevis/borg-server

Note

After creating the container you will need to start the container add your own public keys.