Sign inSign up

daweedpanic/rdiff-backup-server

By daweedpanic

•Updated 8 months ago

A destination for rdiff-backup. Images are built daily.

Image
0

4.5K

daweedpanic/rdiff-backup-server repository overview

⁠rdiff-backup-server

This image provides a backup destination for rdiff-backup

⁠Running this image

To run this image, first generate a ssh keypair. (for example with: ssh-keygen -t ed25519 -N '' -C 'rdiff-backup' -f id_ed25519)

Specify your ssh users with the SSH_USERS environment variable like so: www:48:48,admin:1000:1000:/bin/bash The fourth argument for specifying the user shell is optional.

Mount the public keys in the container at /etc/authorized_keys/username

⁠Example docker-compose file

version: '3'

services:
  rdiff-backup-server:
    image: daweedpanic/rdiff-backup-server:latest
    container_name: rdiff-backup-server
    restart: always
    environment:
      SSH_USERS: rdiff-backup:1000:1000:/bin/bash
      DISABLE_SFTP: 'true'
    ports:
      - '2222:22'
    volumes:
      - ./host_keys:/etc/ssh/keys
      - ./id_ed25519.pub:/etc/authorized_keys/rdiff-backup:ro
      - ./backup:/home/rdiff-backup/backup

Tag summary

Content type

Image

Digest

sha256:f40ce5315…

Size

31.6 MB

Last updated

8 months ago

docker pull daweedpanic/rdiff-backup-server