[How-To] Install Duplicati container using OMV and docker-compose (CLI or Portainer)

    • 3rd-party
    • [How-To] Install Duplicati container using OMV and docker-compose (CLI or Portainer)

      Preparation --> follow the preparation steps in this [How-To]


      in CLI:
      • mkdir /home/docker1 create a folder for user docker1 in home directory (if not already done)
      • mkdir /home/docker1/duplicati create a folder where we will put the docker-compose.yml file to setup watchtower
      • cd /home/docker1/duplicati change in that directory
      • nano docker-compose.yml create an empty file and start the editor
      • copy the content of the Source Code box below in the editor, change according your setup and save the file with Ctrl+X and y; name must be "docker-compose.yml
      • to copy the content of the Source Code box use the small icon in the top right corner of the box ("Copy Contents")

      Source Code

      1. ---
      2. version: "2"
      3. services:
      4. duplicati:
      5. image: linuxserver/duplicati
      6. container_name: duplicati
      7. environment:
      8. - PUID=1002 # change according your needs
      9. - PGID=100 # change according your needs
      10. - TZ=Europe/Berlin # change according your needs
      11. - CLI_ARGS= #optional, see documentation
      12. volumes:
      13. - /srv/dev-disk-by-label-data/docker/duplicati:/config # change path according your needs;
      14. - /srv/dev-disk-by-label-data/data:/data
      15. - /srv/dev-disk-by-label-data/pictures:/pictures
      16. - /srv/dev-disk-by-label-data/movies:/movies
      17. - /srv/dev-disk-by-label-data/music:/music
      18. - /srv/dev-disk-by-label-data/docker/dummy:/source # if /source is not linked, a volume will be created automatically which is avoided by using /dummy
      19. - /srv/dev-disk-by-label-data/docker/dummy:/backups # if /backup it not linked, a volume will be created automatically which is avoided by using /dummy
      20. ports:
      21. - 8200:8200
      22. restart: unless-stopped
      Display All

      • after you saved the file, run docker-compose up -d in the directory where the docker-compose.yml file is located; this will download the needed image and start the container; the correct image for your architecture (amd64, arm64 or armhf) should be pulled
      You can also run the docker-compose file in Portainer without using the CLI:[How-To] Use docker-compose files in Portainer

      For further details: hub.docker.com/r/linuxserver/duplicati
      There you will also find information on updating the image

      Webui can be reached at your-ip:8200
      Odroid HC2 - armbian - OMV5.x | Asrock Q1900DC-ITX - Intenso SSD 120GB - OMV5.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV5 Documentation - user guide :!: