Update 1: I’ve posted updated instructions for version 0.4.2 of duplicity here.
As a follow up to my previous article on rdiff-backup, I’ve patched duplicity to work correctly on Cygwin.
To install it you’ll need the same prerequisites as for rdiff-backup. Additionally you should install the Utils/gnupg package in order to get the encryption working.
Here is how to compile and install duplicity:
First off, you need to grab the current version:
# wget http://savannah.nongnu.org/download/duplicity/duplicity-0.4.1.tar.gz
Now, unpack the archive:
# tar xzf duplicity-0.4.1.tar.gz # cd duplicity-0.4.1
Next up: downloading and applying my patch bundle:
# wget http://www.katastrophos.net/downloads/duplicity_katastrophos.net.patch # patch -p1 < duplicity_katastrophos.net.patch
Here is the final step:
# python setup.py install
Fin. :)
The patch bundle above includes the following patches:
“asdf”:
– tarfile large uid/gid patch (taken from CVS)
Andre Beckedorf:
– improved Cygwin/Win32 support
– FTP backend’s NLST and QUIT behavior fixed, visible with default OS X FTP server
Ben Escoto:
– MDR patch that allows signing with different key (taken from CVS)
Stefan Schimanski:
– FTP timeout patch (official Debian patch)
Christian Schneider:
– SCP Port patch (taken from Savannah)
Tested and working on Cygwin and Darwin (OS X 10.4).
Could you zip and send over the binary for cygwin? I tried your patch and did not worked (patch did not succeded), and it bombs out on the compiling phase, complaining about errors on a .c file.
I would really appreciated.
Hi David,
I’ve released an updated version of duplicity here:
http://katastrophos.net/andre/blog/?p=29
You’ll also find the binary there.