Go to file
b3vis 0b776ab569
Merge pull request #9 from b3vis/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-02 09:16:09 +00:00
.github Bump actions/checkout from 2 to 3 2022-03-01 23:38:05 +00: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 Fix permissions 2022-01-01 23:49:58 -03: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/b3vis/borg-server

Note

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