duplicity under Ubuntu Feisty Fawn
UPDATE (22. May 2007): It seems that duplicity don't work with SSH at all :( The problem is a call to sftp, that don't work.
The problem is, that cd in the below isn't executed, only ls -1 is, which give the content of the users home directory.
'echo -e 'cd /path/to/the/backup/directory
ls -1' | sftp -b - user@some.serer.com'
It seems that duplicity doesn't work with Python 2.5, which is the version shipped with Ubuntu Feisty Fawn. But this bugreport says that it will work, if compiled with Python 2.4.
Here is how you do
Start by installing the necessary tools:
sudo apt-get install python2.4 librsync-dev python-dev python2.4-dev
download the duplicity source and untar it:
wget http://savannah.nongnu.org/download/duplicity/duplicity-0.4.2.tar.gz
tar -zxvf duplicity-0.4.2.tar.gz
Now simply build and install it, using Python 2.4
cd duplicity-0.4.2
sudo python2.4 setup.py install
That's it, everything should work now. Ready to backup files to rsync.net :)
