Latest version is 1.3.3 and you can download from this page.

cd /usr/local/src
wget http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.3.3.tar.gz
tar -xzvf rdiff-backup-1.3.3.tar.gz
cd rdiff-backup-1.3.3
python setup.py install

If you see an error with “_librsyncmodule.c” you have to install this dependence:

apt-get install -y librsync-dev

Sample Script for copies:

/opt/local/bin/rdiff-backup —remote-schema “ssh -C -p2223 %s rdiff-backup —server” root@YOUR_REMOTE_IP::/data/mysql/ /Volumes/SERVERS/mycopies/dbs
/opt/local/bin/rdiff-backup —force —remove-older-than 2W /Volumes/SERVERS/mycopies/dbs