*New 11.3 series Release:
2019-10-05: XigmaNAS 11.3.0.4.6928 - released, 11.2 series are soon unsupported!

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

[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

#1

Post by erik » 23 Mar 2017 10:29

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: 172
Joined: 14 Jul 2016 19:04
Status: Offline

Re: [HOWTO] Install duplicati

#2

Post by tony1 » 25 Mar 2017 21:09

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

#3

Post by erik » 26 Mar 2017 13:14

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: 172
Joined: 14 Jul 2016 19:04
Status: Offline

Re: [HOWTO] Install duplicati

#4

Post by tony1 » 26 Mar 2017 18:38

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

#5

Post by erik » 26 Mar 2017 19:27

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

#6

Post by joneill809 » 26 May 2017 00:45

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

#7

Post by erik » 26 May 2017 08:04

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

#8

Post by joneill809 » 27 May 2017 00:00

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

#9

Post by erik » 27 May 2017 09:28

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

#10

Post by joneill809 » 01 Jun 2017 23:12

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”