I’m tired. So I’m going to make this as short and clear-cut as possible:
backupninja is a pretty nice backup program for linux which supports rdiff-backup, rsync, and duplicity.
backupninja exists as version 1.0.1 for the latest stable ubuntu and debian packages.
There exists a bug in this version of backupninja which disables it from rsyncing. This is a critical bug which disables you from using any
This bug was fixed in the master branch (don’t know which commit exactly) over one year ago.
Version 1.0.2 has not been released, hence no packages exist for it on deb/ubu or any other distro.
What does all this mean? Looks like we’re building from Source!!!!!!!!
apt-get source backupninja tar xzvf backupninja_1.0.1.orig.tar.gz cd backupninja-1.0.1/ cd handlers/ patch < ../derp.patch apt-get update; apt-get install build-essential fakeroot dpkg-dev -y; apt-get build-dep backupninja -y dpkg-source -x ../backupninja_1.0.1-2.dsc dpkg-buildpackage -rfakeroot -b cd .. dpkg -i backupninja_1.0.1-2_all.deb
You can find the patched deb in my docker-backupninja container repo.
A few other notes about how much fun this was:
RiseUp Labs apparantly doesn’t know how to git:
?[~]> git clone http://labs.riseup.net/git/backupninja.git Cloning into 'backupninja'... fatal: repository 'https://labs.riseup.net/git/backupninja.git/' not found
There is no version on github that seems to be as up-to-date as their site. However, I found one that seems to be pretty current. Keep in mind you’ll need to set the configure parameters to match what they are in ubuntu and debian (i.e. config exists in /etc/backupninja.conf, etc…)