Sign inSign up

kamilcuk/docker-rdiffweb

By kamilcuk

Updated about 2 years ago

Alpine docker image with rdiffweb

Image
0

100K+

kamilcuk/docker-rdiffweb repository overview

Rdiffweb

Rdiffweb is a web application that allows you to view repositories generated by rdiff-backup. The purpose of this application is to ease the management of backups and quickly restore your data with a rich and powerful web interface.

Automated docker hub monthly build from gitlab Kamcuk/docker-rdiffweb repository.

rdiffweb homepage
rdiff-backup homepage

Running

Normally this container needs access to a minimum of three external volumes:

  • /etc/rdiffweb is used as persistent store for the rdiffweb settings. There is the rdiffweb configuration rdw.conf and all runtime data stored in sqlite database rdw.db.
  • /backups is the default location where rdiffweb stores its backups.
  • /restores is the default location where rdiffweb backups are restored.

Example: Run without persistent storage or (easy) access to backups/restores

docker run -d --name=rdiffweb -p 8080:8080 kamilcuk/docker-rdiffweb

Example: Run with persistent storage and access to backups/restores

docker run -d --name=rdiffweb -p 8080:8080 -v /docker/rdiffweb/config:/etc/rdiffweb -v /var/backups:/backups -v /var/restores:/restores kamilcuk/docker-rdiffweb

Example: Docker-compose template:

version: "3"
services:
  rdiffweb:
    image: kamilcuk/docker-rdiffweb
    container_name: rdiffweb
    ports:
      - 8080:8080
    volumes:
      # you have to put rdw.conf inside /etc/rdiffweb for rdiffweb to start
      - ./rdiffweb_env/rdiffweb:/etc/rdiffweb
      - ./rdiffweb_env/backups:/backups
      - ./rdiffweb_env/restores:/restores

Access

Access the web UI by browsing to http://hostname:8080

Default username: admin
Default password: admin123

After going through the initial initialization steps, go to the admin area to add users and assign backup locations to these users.

Note: Multiple volume mounts can be attached to the container to allow for backups in many locations.

Notice

Dockerfile is based on jshridha/rdiffweb, but went through changes:

  • moved to alpine
  • removed any supervisor and such

Tag summary

Content type

Image

Digest

sha256:7ca308fbd

Size

57.5 MB

Last updated

about 2 years ago

docker pull kamilcuk/docker-rdiffweb