duplicati#
description:#
Duplicati is an application that manages backups. It supports many platforms and technologies. I simply use it to create regular backups of my data to external locations. The backup is encrypted to secure it.
source and credits: docker image -
duplicati/duplicati
from Duplicati
usage#
The Duplicati web interface facilitates an easy configuration of your backups. It also provides a view of the status and logs and in case you need it an ability to restore data from a recent backup.
It is important to test you restoration ability to ensure you are covered for the inevitable.
dependencies#
The folders you need to backup and the target sources need to be added as volumes in the container. In the configuration below, I refer to /media/2tb which is a symlink to one of my external drives.
installation#
create a stack
in portainer with the following code.
version: '2' services: duplicati: container_name: duplicati image: duplicati/duplicati restart: unless-stopped networks: - web ports: - 8200:8200 volumes: - /var/lib/docker/volumes/myconfigs/_data/duplicati:/config - /var/lib/docker/volumes/myconfigs/_data/duplicati:/data - /media/2tb:/2tb labels: - traefik.enable=true - traefik.http.routers.authelia.rule=Host(`duplicati.example.com`) - traefik.http.routers.authelia.entrypoints=websecure - traefik.http.routers.authelia.middlewares=authmm - traefik.http.routers.authelia.tls=true - traefik.http.routers.authelia.tls.certresolver=le networks: web: external: name: web
tips#
Be sure to review your backups regularly a) to make sure they are working and b) to make sure you are backing up everything you may need in case of a disk failure.
Also consider the case where your computer may be physically removed or damaged. Ie: a cloud backup or backup to a different location. Duplicati supports this well.