Enable SSH:
- Log on to your ReadyNAS and create a new share.Give it the name Duplicati.
- Enable SSH: Click System, Settings and click the SSH button.
- Download and start PuTTY. Connect to your ReadyNAS (username: root, password: your admin user’s password).
Install Pre reqs:
Type the follow:
apt-get update
apt-get -y install apt-transport-https sudo nano git-core python python-software-properties software-properties-common
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo “deb Index of /repo/debian wheezy main” | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get -y install mono-devel
Reboot the NAS
Install Duplicati :
- Download the Zip version of Duplicati from Duplicati
- Create a folder Duplicati on the Duplicati share on the ReadyNAS and extract the Zip file to this folder.
- Test if the server can be started with this commands:
cd /data/Duplicati/Duplicati
mono Duplicati.Server.exe --webservice-interface=any --webservice-port=8300 --portable-mode
You should see that the server has started and is listening on 0.0.0.0 on port 8300
and be able to browse to http://:8300
Adding duplicati to NAS start up:
Create startupscript:
nano /etc/init.d/startduplicati.sh
Then paste the following text:
#! /bin/sh
cd /data/Duplicati/Duplicati
mono Duplicati.Server.exe --webservice-interface=any --webservice-port=8300 --portable-mode
Press Ctrl+X and save the file.
Type the following commands to then set the execute permissions and add the script to your NAS startup:
cd /data/Duplicati/Duplicati
chmod 755 startduplicati.sh
update-rc.d startduplicati.sh defaults
Then Reboot your NAS and you should be able to browse to http://:8300