Duplicati plugin Suggestion

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Duplicati plugin Suggestion

      Currently the OMV Duplicati plugin doesn't include any means to customize how the server runs and or add custom variables to the /etc/default/duplicati file that the service uses. from what I've found, this makes the default service more or less useless if you need to add any custom variables. I am not sure how hard this is to add, but having the ability to add extra options, similar to what the SSH plugin does, would be very helpful for more advanced configurations.

      For Reference, this is what that file looks like by default,

      # This is file is generated.
      MONO_TLS_PROVIDER=legacy
      DAEMON_OPTS="--webservice-port=8300 --webservice-interface=0.0.0.0"

      And this is what it would look like with a single custom option added.

      # This is file is generated.
      MONO_TLS_PROVIDER=legacy
      DAEMON_OPTS="--webservice-port=8300 --webservice-interface=0.0.0.0 --webservice-sslcertificatefile=/usr/lib/duplicati/cert/certificate.pfx"

      So all edits have to be in a single line, unlike the ssh config.
    • While I agree it probably could use some improvement, I don't plan on porting it to OMV 5.x in favor of using docker. The plugin isn't much more than an enable button anyway. So, you could start using the docker now and get the customization you want. Installation and Setup Videos - Beginning, Intermediate and Advanced
      omv 4.1.17 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • hmm, I didn't realize that so many different plugins were getting moved to docker containers. Is there an official docker image for duplicati that works with OMV? I messed up my duplicati installation a week or two ago and I tried a few duplicati docker containers but I couldn't get any of the ones that I tried to work correctly.
    • Not an official one, but if you follow the video from technodadlife, you should end up with a working configuration

      Installation and Setup Videos - Beginning, Intermediate and Advanced
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • I was about to open a new thread when I saw this one.
      I wan't to use Duplicati with Docker, as the plugin has ruined my OMV-installation more than once. But I can't find a guide to set it up in OMV, and the video from technodadlife only shows how to install the plugin.
      I'm using this docker image hub.docker.com/r/duplicati/duplicati, as it should be the official image.
      Can anybody describe how to get the image running and which values that are needed?
      Or should I ask this in a new thread?

      Thanks!
    • Hi raev,
      Hi @all,

      I'm an omv newbie...
      I had the same issue and I was a little afraid of the plugin behavior filling up/writeing to µSD ca.

      My setup future setup will be a Odroid HC1 arm (8GB µSD, 2TB SSD), till delivery I played around with a OMV4 i386 vm (8GB systemdrive, 20GB data drive).

      To get Duplicati stable running without hitting the systemdrive too much I've used a docker image.

      a) Block ads on your whole network with Pi-hole and Openmediavault -
      Follow to create the network, didn't want to use the same ip of omv host.

      b) docker image used linuxserver/duplicati - hub.docker.com/r/linuxserver/duplicati
      Download it as describet in a).

      c) run docker image with following settings
      dup01-03.png
      Please keep attention to /source, I've used root UID/GID and pointed it to omv root in read only mode to access whole server files!

      d) login and create your backup tasks
      dup04.png

      I hadn't had the time to test restore because I'm on a business trip.

      br,
      omv_starter
      Images
      • dup01.png

        108.52 kB, 1,920×1,200, viewed 33 times
      • dup02.png

        128.46 kB, 1,920×1,200, viewed 26 times
      • dup03.png

        121.12 kB, 1,920×1,200, viewed 30 times
      • dup04.png

        66.21 kB, 1,920×1,200, viewed 23 times
    • Hi omv_starter

      Thank you for your answer, and sorry for my late reply!

      Firstly what a great guide with pictures and everything - perfect for someone like me! Though it didn't do exactly what I wanted, as I'm not interested in installing Pi-hole, as I just want to use the same IP as the OMV host. You wouldn't happen to know what network configuration I need to use in this case?

      Thanks!!
    • New

      Not sure what others are using, but this is the command I used to get my duplicati container up and running. I tried for quite a while to use the web interface to get a working container but I kept running into errors while making edits. So in the end I gave up and made the container from the command line with the following command.


      Source Code

      1. docker run \
      2. --name=duplicati -h duplicati \
      3. -d \
      4. -v /path/on/host/data:/data \
      5. -v /path/on/host/cert:/cert \
      6. -v /path/on/host/backups:/backups \
      7. -p 8200:8200 \
      8. --restart unless-stopped \
      9. duplicati/duplicati \
      10. /usr/bin/duplicati-server \
      11. --webservice-port=8200 \
      12. --webservice-interface=any \
      13. --webservice-sslcertificatefile=/cert/certificate.pfx \
      14. --webservice-sslcertificatepassword=password
      Display All
      Use line 3 to store duplicati's data(backup jobs, database files among other things) persistently.

      Use lines 4, 11 and maybe 12 if you want to have an https webinterface for duplicati. You only need to use line 12 if your cert has a password. Your cert file will need to be in a specific format in order for you to use it in Duplicati. Here is a link were I explain the script I am using to convert my Let's Encrypt cert for use with Duplicati.

      Use line 5 as an example for making the files you need to back up, availible to Duplicati. Re-use this line as much as you need to make all of your files availible, just make sure the path after the : is different.

      All other lines should be included. Do yourself a favor when you get a command that works to run the container, save it some where were you won't loose it.