Retroclient on Debian

The departement has a backup solution based on Retrospect. There are clients available for Windows, Mac and Linux, however the Linux one is only for Red hat based distributions (RHEL, Scientific Linux, Fedora, etc). To be able to use it under Debian based distributions, e.g. Debian, Ubuntu or Linux Mint, I've created this how to.

If you have a 64-bit system like me, the easiest way is to simply download the precompiled deb package, and then follow the instructions below under 2 Installing the package. If you have a 32-bit distribution or still want to generate the package yourself, start off at 1 Generating a package.

In case you find any errors, if something is unclear, or if you have any general feedback, please contact me so I can update this description.

1 Generating a package

0. Install the prerequisite packages:

  $ sudo apt-get install alien 

1. Fetch the RPM package linux_client-7_7_100.rpm from http://www.retrospect.com/support/downloads

2. Unpack it and prepare for .deb package generation:

  $ sudo alien --scripts --generate linux_client-7_7_100.rpm
alien must be run as root, so sudo is necessary.

3a. Fix run leves to be debian compatible: Edit the file retroclient-7.7.100/usr/local/dantz/client/rcl and change the Default-Start and Default-Stop lines to

  # Default-Start: 2 3 4 5
  # Default-Stop: 0 1 6

3b. If using 64-bit architecture, edit retroclient-7.7.100/debian/control as root, change the Architecture line into:

  Architecture: i386 amd64

4. Generate package by doing

  $ cd retroclient-7.7.100
  $ sudo debian/rules binary

2 Installing the package:

0. Install the prerequisite packages:

  $ sudo apt-get install ia32-libs 
(This installs quite a lot of packages. Probably, not all of these are needed, but only something like lib32stdc++6, libstdc++6 and libc6-i386.)

1. Install the package. For me the package was called retroclient_7.7.100-2_amd64.deb, but you might get a different name.

  $ sudo dpkg -i retroclient_7.7.100-2_amd64.deb

2. Make retroclient run at startup: Configure system V upstart script by running

  $ sudo update-rc.d rcl defaults

Karl Ljungkvist, 04 Oct 2013