Skip to content

My take on a Borgbackup Server as a Docker container to facilitate the backing up of remote machines using [Borgbackup](https://github.com/borgbackup)

License

Notifications You must be signed in to change notification settings

gaetancollaud/borg-server

 
 

Repository files navigation

Borg Backup Server Container

Description

My take on a Borgbackup Server as a Docker container to facilitate the backing up of remote machines using Borgbackup. Forked from grantbevis/borg-server.

Usage with docker-compose

Put your public key in the PUBLIC_KEY environment variables. It will automatically be added. Another possibility is to mount the authorized_keys under /home/borg/.ssh/authorized_keys

services:
  borg-server:
    restart: always
    image: ghcr.io/gaetancollaud/borg-server
    ports:
      - 2222:22
    environment:
      - PUBLIC_KEY=ssh-rsa AAA...  # Option with public key in env
    volumes:
      # - ./.ssh:/home/borg/.ssh # Option with folder mount
      - ./backups:/backups

About

My take on a Borgbackup Server as a Docker container to facilitate the backing up of remote machines using [Borgbackup](https://github.com/borgbackup)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 52.9%
  • Shell 47.1%