Cheerful Curmudgeon

A complete lack of ideas and the power to express them.

  • Home
  • About Me
    • Art Zemon’s PGP Key
    • Privacy Policy
  • Bede BD-4C
    • Hall of Fame
  • Piper Arrow

Installing rdiff-backup on Synology DS218+

November 14, 2017 Art Zemon

This post is outdated. See Installing rdiff-backup 2.x on Synology DS218+ Diskstation instead.


Synology DS218+
Synology DS218+

I just got a Synology DS218+ NAS box running DiskStation Manager (DSM) 6.1. It supports rsync but not rdiff-backup, which I have been using and loving for about 10 years. Getting rdiff-backup running on the Synology DS218+ was surprisingly easy, in large part because the DS218+ has an Intel processor and its operating system is basically Linux.

To install rdiff-backup, you need two components:

  • rdiff-backup from http://rdiff-backup.nongnu.org/
  • librsync.so from an Ubuntu or Debian system

To follow these instructions, you will need a Synology NAS box with an Intel processor, DSM 6.1, and a computer running Ubuntu (or Debian) Linux. You also need to have set up your user on your Synology box so that you can ssh into the Synology box.

Build rdiff-backup

Basically, I used my Ubuntu 16.04 desktop to build rdiff-backup and then copied the files to the DiskStation for installation.

  1. Install the Ubuntu librsync-dev package with aptitude install librsync-dev
  2. Download the rdiff-backup tar file from http://rdiff-backup.nongnu.org/
  3. Untar and build rdiff-backup
    tar xf rdiff-backup-1.2.8.tar.gz
    cd rdiff-backup-1.2.8
    python setup.py build

Copy Files to the Synology Box

Next, I copied the rdiff-backup files and the librsync.so shared library to the DS218+. Start on the Linux computer in the parent directory of rdiff-backup-1.2.8 . The IP address of my Synology box is 192.168.0.26; you should replace that address with the address or hostname of your own box.

rsync -avz rdiff-backup-1.2.8 192.168.0.26:
rsync -avz /usr/lib/x86_64-linux-gnu/librsync.so.1.0.2 192.168.0.26:

Install rdiff-backup and librsync.so on the Synology Box

Then I logged into the Synology DS218+, became root, and installed the software.

# on the Linux computer:
ssh 192.168.0.26

# on the Synology box

# install rdiff-backup
cd rdiff-backup-1.2.8
sudo python setup.py install
# when prompted for a password, enter your own DSM password

# now install librsync.so
cd
sudo cp librsync.so.1.0.2 /usr/lib
cd /usr/lib
sudo ln -s librsync.so.1.0.2 librsync.so
sudo ln -s librsync.so.1.0.2 librsync.so.1

Test and Use rdiff-backup

That’s it. Rdiff-backup should now run. You can do a quick test by simply typing “rdiff-backup –help” and you should get an error message, because rdiff-backup does not have that option.

art@dumbo:~$ rdiff-backup --help
Fatal Error: Bad commandline options: option --help not recognized
See the rdiff-backup manual page for more information.

If you see that message, everything is good to go. Enjoy rdiff-backup!

Software, Technology

Recent Posts

  • Stretching a Photo April 21, 2025
  • There are Elephants in the Room April 10, 2025
  • Let’s Eliminate Real WFA April 1, 2025
  • Thumb Wrist Neck Waist Height March 18, 2025
  • Avoid Targeted Advertisements February 5, 2025

About Art Zemon

Omni-curious geek. Husband. Father. Airplane builder & pilot. Bicyclist. Photographer. Computer engineer.

Categories

  • Aviation (261)
    • Bede BD-4C (174)
    • Soaring (5)
  • Bicycling (37)
    • St. Louis to Atlanta (8)
    • St. Peters to Minneapolis (18)
  • Business (48)
  • Cabbages & Kings (24)
  • Communicating (37)
  • Ecology (21)
  • Economy (8)
  • Family (35)
  • Finding the Good (43)
  • Fun (188)
    • Six Word Stories (8)
  • Gardening (5)
  • Genealogy (5)
  • Government (35)
  • Health (67)
  • Judaism (10)
  • Men (12)
  • Mideast (5)
  • Movies (8)
  • Philosophy (15)
  • Photography (27)
  • Rants & Raves (103)
  • Recommendations (35)
  • Safety (37)
  • Science (22)
    • Biology (7)
    • Physics (7)
    • Pyschology (3)
  • Technology (195)
    • eBooks (7)
    • Internet (66)
    • Software (63)
    • VOIP (5)
  • Travel (43)
  • Tzedakah (12)
  • Women (5)

You Will Also Like

  • Art Zemon's Genealogy
  • Art Zemon's Photos
  • Mastodon @babka.social
  • Mastodon @raphus.social

Search

#DonorForLife

6 gallon blood donor badge
#DonorForLife - Give Blood - Save Lives

Archives

Copyright © 2025 · Daily Dish Pro Theme on Genesis Framework · WordPress · Log in