Installing Duplicati on a Netgear ReadyNAS


This article describes how I did get Duplicati working on a Netgear ReadyNAS. Due to my very limited Linux skills I suppose there are a number of things that could be done better, so feel free to comment what could be improved.

A ReadyNAS running ReadyNAS OS6 is required. Older models running RAIDiator (like the ReadyNAS Duo and ReadyNAS Ultra) are based on an ancient Debian version that doesn’t meet the minimum requirements for installing Duplicati.

  1. Create a new shared folder. Give it the name Duplicati.
  2. Enable SSH on the ReadyNAS: In the Netgear ReadyNAS Admin page, click System, Settings and activate SSH by clicking on the SSH button.
  3. Download and install PuTTY. Connect to your ReadyNAS (username: root, password: your admin user’s password).
  4. Install Mono with the following commands:
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:// --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb jessie main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get -y install mono-devel
  1. Download the Zip version of Duplicati from https://www.duplicati/download
  2. Create a folder Duplicati in the Duplicati share on the ReadyNAS (step 1) and extract the Zip file to this folder.
  3. Test if the server can be started with these commands (You should get the help text for Duplicati.CommandLine.exe):
cd /data/Duplicati/Duplicati
mono Duplicati.CommandLine.exe help
  1. Type this command:
nano /etc/init.d/duplicati

Paste the following text in this file:

#! /bin/sh

# Provides:          duplicati
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: duplicati
# Description:       This script launches Duplicati.

#! /bin/sh
# /etc/init.d/duplicati

# The following part always gets executed.

# The following part carries out specific functions depending on arguments.
case "$1" in
    mono /data/Duplicati/Duplicati/Duplicati.Server.exe --webservice-interface=any --webservice-port=8300 --portable-mode
    echo "Stopping Duplicati"
    echo "Usage: /etc/init.d/duplicati {start|stop}"
    exit 1

exit 0

Press Ctrl+X and save the file.

  1. Type the following commands:
sudo chmod 755 /etc/init.d/duplicati
sudo update-rc.d duplicati defaults
  1. Restart the ReadyNAS
  2. After the ReadyNAS is back online, Duplicati can be reached at port 8300 (port 8200 seems to be in use by something else).

Netgear Readnas 104 NAS install?
How to install Duplicati on Debian Stretch
NAS firmware upgrade breaks mono (wrong mono version)
Duplicati on Debian etch
Debian installation - no init script created
NAS firmware upgrade breaks mono (wrong mono version)
Netgear Readnas 104 NAS install?