This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[HOWTO] Install duplicati

Problems, solutions, software
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
erik
experienced User
experienced User
Posts: 83
Joined: 14 Jul 2014 09:45
Status: Offline

[HOWTO] Install duplicati

Post by erik »

Duplicati can do incremental encrypted backups to many destinations including Amazon Cloud Drive (100Tbyte for 60$/year)
It requires mono so I tested using a full install

Code: Select all

pkg install mono
Create a folder for duplicati
Go to https://www.duplicati.com/download
download and unzip the "Zip file" version
Start duplicati with this command

Code: Select all

mono Duplicati.Server.exe --webservice-port=8200 --webservice-listen-interface=any --webservice-password=mySecretPassword  &
and open on a computer with a browser

Code: Select all

http://ip.of.your.server:8200/
or download zip file also on a windows host and start the tray icon with

Code: Select all

Duplicati.GUI.TrayIcon.exe --no-hosted-server --hosturl=http://ip.of.your.server:8200 --webserver-password=mySecretPassword
Connection to Amazon could drive will fail so you need to specify the advanced option "accept-any-ssl-certificate"
Backup to ACD is running at about 0.7MByte/s with less then 10% CPU load on i3-6100 on initial 1TByte backup

Be aware duplicati is still in beta
primary NAS: 2*8Tb raidz1, backup NAS: 6*2TB raidz2, remote backup NAS: 3*2TB raidz1 : All NAS4Free 11.0

User avatar
tony1
Moderator
Moderator
Posts: 169
Joined: 14 Jul 2016 19:04
Status: Offline

Re: [HOWTO] Install duplicati

Post by tony1 »

you can use rclone "http://rclone.org/" with out issues with System > Advanced > Cron as well.

no pkg's are needed.

erik
experienced User
experienced User
Posts: 83
Joined: 14 Jul 2014 09:45
Status: Offline

Re: [HOWTO] Install duplicati

Post by erik »

amazon cloud drive can not store multiple versions
Can rclone manage multiple versions?
primary NAS: 2*8Tb raidz1, backup NAS: 6*2TB raidz2, remote backup NAS: 3*2TB raidz1 : All NAS4Free 11.0

User avatar
tony1
Moderator
Moderator
Posts: 169
Joined: 14 Jul 2016 19:04
Status: Offline

Re: [HOWTO] Install duplicati

Post by tony1 »

I am not sure? Duplicati look interesting, I have to try it!
I also have not tried encryption with rclone but it is there I believe.

erik
experienced User
experienced User
Posts: 83
Joined: 14 Jul 2014 09:45
Status: Offline

Re: [HOWTO] Install duplicati

Post by erik »

Rclone with encryption works very well on freebsd.
primary NAS: 2*8Tb raidz1, backup NAS: 6*2TB raidz2, remote backup NAS: 3*2TB raidz1 : All NAS4Free 11.0

joneill809
NewUser
NewUser
Posts: 4
Joined: 31 Dec 2014 00:28
Location: Austin TX
Status: Offline

Re: [HOWTO] Install duplicati

Post by joneill809 »

I am looking at duplicati as an ACD backup solution (looks like Rclone was recently banned by Amazon). I've followed this howto (thanks for doing this!), but I'm curious as to how you setup sqlite - I did a full install of 10.3.0.3.4268 and followed the mono install and duplicati download, but I get:
A serious error occurred in Duplicati: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: libsqlite3.so
I'm a freebsd novice so bear with me. It seems like sqlite is an external dependency and something I need to configure. Any tips on getting that going? I have tried duplicati versions 1.3.4 and 2.0.1.53. I've been unable to find libsqlite3.so with a search of the file system (which I could be doing incorrectly). Any advice on how you got past this step is appreciated!

erik
experienced User
experienced User
Posts: 83
Joined: 14 Jul 2014 09:45
Status: Offline

Re: [HOWTO] Install duplicati

Post by erik »

Weird, I did not get that error
primary NAS: 2*8Tb raidz1, backup NAS: 6*2TB raidz2, remote backup NAS: 3*2TB raidz1 : All NAS4Free 11.0

joneill809
NewUser
NewUser
Posts: 4
Joined: 31 Dec 2014 00:28
Location: Austin TX
Status: Offline

Re: [HOWTO] Install duplicati

Post by joneill809 »

Thanks for the reply! Were you using NAS4free 11.x or 10.x? Wondering if sqlite is included in 11.x but not 10.x? I may give 11.x a go and see if I get a different outcome.

erik
experienced User
experienced User
Posts: 83
Joined: 14 Jul 2014 09:45
Status: Offline

Re: [HOWTO] Install duplicati

Post by erik »

I'm using 11.0
primary NAS: 2*8Tb raidz1, backup NAS: 6*2TB raidz2, remote backup NAS: 3*2TB raidz1 : All NAS4Free 11.0

joneill809
NewUser
NewUser
Posts: 4
Joined: 31 Dec 2014 00:28
Location: Austin TX
Status: Offline

Re: [HOWTO] Install duplicati

Post by joneill809 »

Thanks! I took a look at 11.0 but had stability issues on my rig so I went back to 10.3 (long story, but I'll have to dig into that once I get my DR plans out of the way :)). I did get duplicati to load by installing mono and sqlite on the 10.3.0.3 - Pilingitam (revision 4268) x64-full. In addition to the mono install I ran the sqlite3 install:

Code: Select all

pkg install mono
pkg install sqlite3

I had trouble starting the services with --webservice-listen-interface=any. Using that setting duplicati would only listen under 127.0.0.1:8200 for me while --webservice-interface=any shows *:8200 via sockstat. Found that tidbit here describe under "The Web Interface". The modified string looks like this:

Code: Select all

mono /duplicati_2.0.1.53/Duplicati.Server.exe --webservice-port=8200 --webservice-interface=any --webservice-password=mySecretPassword &

Everything else was the same for me in terms of downloading the latest duplicati zip and hitting http://ip.of.your.server:8200/. So the interface is up and I'm going through the configuration now.

Thanks for starting this thread and getting me to look at this tool!

Post Reply

Return to “Data recovery and backups”