MirrorNest
← Tutte le guide

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.

Sistema: Any Docker host (native installers also available for Windows/MacOS/Linux)BackupSito ufficiale ↗Documentazione ufficiale ↗
Questa guida è redatta a partire dalla documentazione ufficiale di Duplicati, linkata sopra — verifica sempre lì i nomi esatti di pacchetti/versioni prima di eseguire questi comandi su un server di produzione, poiché le versioni della distribuzione e del progetto cambiano nel tempo.
  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.