MirrorNest
← Alle Anleitungen

Duplicati

Duplicati is free backup software that encrypts and compresses your data before sending it to local storage, network shares, or a wide range of cloud storage providers, with block-based incremental backups.

Zielsystem: Any Docker host (native installers also available for Windows/MacOS/Linux)BackupOffizielle Website ↗Offizielle Dokumentation ↗
Diese Anleitung basiert auf der offiziellen Dokumentation von Duplicati, oben verlinkt — überprüfe dort immer die genauen Paket-/Versionsnamen, bevor du diese Befehle auf einem Produktionsserver ausführst, da sich Distributions- und Projektversionen mit der Zeit ändern.
  1. 1Create a Compose file

    Duplicati's official image stores its database and configuration under /data inside the container.

    mkdir -p /opt/duplicati/data && cd /opt/duplicati
  2. 2Define the service

    Create docker-compose.yml using the officially documented image and environment variables.

    services: duplicati: image: duplicati/duplicati:latest container_name: duplicati ports: - "8200:8200" volumes: - ./data:/data environment: - SETTINGS_ENCRYPTION_KEY=<random encryption key> - DUPLICATI__WEBSERVICE_PASSWORD=<ui password> restart: unless-stopped

  3. 3Start the container

    docker compose up -d
  4. 4Access the web UI

    The UI listens on port 8200. If you didn't set DUPLICATI__WEBSERVICE_PASSWORD, Duplicati logs a one-time sign-in URL with a token on first start.

    docker logs duplicati
  5. 5Create your first backup job

    From the web UI, use 'Add backup' to choose a destination (local, SSH, S3-compatible, cloud provider, etc.), source folders, schedule, and retention policy.