Duplicity

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).

2 thoughts on “Duplicity

  1. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.