<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: duplicity 0.4.2 on Cygwin</title>
	<atom:link href="http://katastrophos.net/andre/blog/2006/04/03/duplicity-042-on-cygwin/feed/" rel="self" type="application/rss+xml" />
	<link>http://katastrophos.net/andre/blog/2006/04/03/duplicity-042-on-cygwin/</link>
	<description>Chaotic solutions and random thoughts from the restless mind of a notorious problem solver (TM), by Andre Beckedorf</description>
	<lastBuildDate>Fri, 26 Feb 2010 22:26:51 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: bobby</title>
		<link>http://katastrophos.net/andre/blog/2006/04/03/duplicity-042-on-cygwin/comment-page-1/#comment-22738</link>
		<dc:creator>bobby</dc:creator>
		<pubDate>Sun, 12 Oct 2008 14:52:58 +0000</pubDate>
		<guid isPermaLink="false">http://katastrophos.net/andre/blog/?p=29#comment-22738</guid>
		<description>/ Author, can you please integrate below with previous post? / 

Update: the above seems to be a known bug: 

duplicity - Bugs: bug #19998, Incremental Backups Do Not Work On...
https://savannah.nongnu.org/bugs/index.php?19998

&quot;This is caused by a ValueError exception in duplicity&#039;s tarfile.py, because it uses int() on strings containing  (NUL) characters.
This exception does not happen with Python 2.4, and also is not specific to Ubuntu&#039;s Python 2.5.&quot;

Don&#039;t have Python 2.4 now, so cannot tell..</description>
		<content:encoded><![CDATA[<p>/ Author, can you please integrate below with previous post? / </p>
<p>Update: the above seems to be a known bug: </p>
<p>duplicity &#8211; Bugs: bug #19998, Incremental Backups Do Not Work On&#8230;<br />
<a href="https://savannah.nongnu.org/bugs/index.php?19998" rel="nofollow">https://savannah.nongnu.org/bugs/index.php?19998</a></p>
<p>&#8220;This is caused by a ValueError exception in duplicity&#8217;s tarfile.py, because it uses int() on strings containing  (NUL) characters.<br />
This exception does not happen with Python 2.4, and also is not specific to Ubuntu&#8217;s Python 2.5.&#8221;</p>
<p>Don&#8217;t have Python 2.4 now, so cannot tell..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bobby</title>
		<link>http://katastrophos.net/andre/blog/2006/04/03/duplicity-042-on-cygwin/comment-page-1/#comment-22737</link>
		<dc:creator>bobby</dc:creator>
		<pubDate>Sun, 12 Oct 2008 14:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://katastrophos.net/andre/blog/?p=29#comment-22737</guid>
		<description>Hi, thanks for the tutorial! Managed to get it to work - except had to move/copy the duplicity module from cygwin\usr\local\lib\python2.5\site-packages to cygwinpt\lib\python2.5\site-packages

Then, I needed to understand there are two different sets of keys - one for ssh/scp (which should work passwordless before tryig duplicity), and another - gpg - for encrypting the archives. I also encountered the gpg problem, solved it by installing gnupg, running 
$ gpg --gen-key 
here noting the comment &#039;gpg: key ABABABAB marked as ultimately trusted&#039; 
and then running
$ gpg --list-keys
you will see: 
.. --------------------------------------
.. pub   1024D/ABABABAB 2008-10-12
.. uid                  XX 
 
and then use this ABABABAB key as in

$ duplicity -–encrypt-key ABABABAB -–sign-key ABABABAB &quot;/cygdrive/c/TEMP&quot; scp://user@server.net/bckp

Now, this is all OK - but I have a problem - this does create an archive on the server, but if I execute the exact same command several times in a row without changing files, it always uploads archives with sizes the same as initial one !! Shouldn&#039;t it detect no changes, and transfer 0 bytes?: &quot;If the above is run repeatedly, the first will be a full backup, and subsequent ones will be incremental.&quot; http://duplicity.nongnu.org/duplicity.1.html. Same thing happens for specifying --no-encryption instead of encryption and signing keys. (I n00bishly suspect this may have to do something with the Cygwin filesystem...)

Any pointers for this would be great!

Update2: tried http://launchpadlibrarian.net/7933525/duplicity_0.4.2-10.1ubuntu1.1.dsc.diff manually, ran setup.py again, but there seems to be no fix - it still cannot detect increments, not even when trying without encryption, and running:

$ duplicity –verify –no-encryption -v 9 scp://user@server.net/bckp /cygdrive/c/temp/</description>
		<content:encoded><![CDATA[<p>Hi, thanks for the tutorial! Managed to get it to work &#8211; except had to move/copy the duplicity module from cygwin\usr\local\lib\python2.5\site-packages to cygwinpt\lib\python2.5\site-packages</p>
<p>Then, I needed to understand there are two different sets of keys &#8211; one for ssh/scp (which should work passwordless before tryig duplicity), and another &#8211; gpg &#8211; for encrypting the archives. I also encountered the gpg problem, solved it by installing gnupg, running<br />
$ gpg &#8211;gen-key<br />
here noting the comment &#8216;gpg: key ABABABAB marked as ultimately trusted&#8217;<br />
and then running<br />
$ gpg &#8211;list-keys<br />
you will see:<br />
.. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
.. pub   1024D/ABABABAB 2008-10-12<br />
.. uid                  XX </p>
<p>and then use this ABABABAB key as in</p>
<p>$ duplicity -–encrypt-key ABABABAB -–sign-key ABABABAB &#8220;/cygdrive/c/TEMP&#8221; scp://user@server.net/bckp</p>
<p>Now, this is all OK &#8211; but I have a problem &#8211; this does create an archive on the server, but if I execute the exact same command several times in a row without changing files, it always uploads archives with sizes the same as initial one !! Shouldn&#8217;t it detect no changes, and transfer 0 bytes?: &#8220;If the above is run repeatedly, the first will be a full backup, and subsequent ones will be incremental.&#8221; <a href="http://duplicity.nongnu.org/duplicity.1.html" rel="nofollow">http://duplicity.nongnu.org/duplicity.1.html</a>. Same thing happens for specifying &#8211;no-encryption instead of encryption and signing keys. (I n00bishly suspect this may have to do something with the Cygwin filesystem&#8230;)</p>
<p>Any pointers for this would be great!</p>
<p>Update2: tried <a href="http://launchpadlibrarian.net/7933525/duplicity_0.4.2-10.1ubuntu1.1.dsc.diff" rel="nofollow">http://launchpadlibrarian.net/7933525/duplicity_0.4.2-10.1ubuntu1.1.dsc.diff</a> manually, ran setup.py again, but there seems to be no fix &#8211; it still cannot detect increments, not even when trying without encryption, and running:</p>
<p>$ duplicity –verify –no-encryption -v 9 scp://user@server.net/bckp /cygdrive/c/temp/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://katastrophos.net/andre/blog/2006/04/03/duplicity-042-on-cygwin/comment-page-1/#comment-22728</link>
		<dc:creator>David</dc:creator>
		<pubDate>Fri, 05 Sep 2008 03:09:37 +0000</pubDate>
		<guid isPermaLink="false">http://katastrophos.net/andre/blog/?p=29#comment-22728</guid>
		<description>I am having the same problem with duplicity 4.12 and using just 1024 bit.  Is lower than 1024 necessary?  Thanks</description>
		<content:encoded><![CDATA[<p>I am having the same problem with duplicity 4.12 and using just 1024 bit.  Is lower than 1024 necessary?  Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://katastrophos.net/andre/blog/2006/04/03/duplicity-042-on-cygwin/comment-page-1/#comment-22717</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Tue, 29 Jul 2008 16:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://katastrophos.net/andre/blog/?p=29#comment-22717</guid>
		<description>Duplicity 0.4.12 is now available and has many bug fixes.
wget http://savannah.nongnu.org/download/duplicity/duplicity-0.4.12.tar.gz

I don&#039;t believe the patches are required now, but haven&#039;t done extensive tests yet.

In cygwin install, need to select following packages in addition to defaults:
  gcc-core
  gnupg
  librsync-devel
  ncftp
  openssh
  openssl
  wget (to simplify installing the non-cygwin packages)

I couldn&#039;t find python-dev anymore, but it didn&#039;t seem to matter.

I had to download the following packages separately as they are not bundled as a cygwin package:
  GnuPGInterface 0.3.2 or later (http://py-gnupg.sourceforge.net)
  Boto 0.9d or later (http://code.google.com/p/boto) -- if you wish to use the Amazon S3 service)
  pexpect 2.1 or later (http://pexpect.sourceforge.net) --  if you plan to use the ssh backend

For some reason I&#039;m getting the &quot;mkpasswd (272): [1359] An internal error occurred.&quot; message from my cygwin install and can&#039;t find a good fix yet, but everything seems to work ok so far.</description>
		<content:encoded><![CDATA[<p>Duplicity 0.4.12 is now available and has many bug fixes.<br />
wget <a href="http://savannah.nongnu.org/download/duplicity/duplicity-0.4.12.tar.gz" rel="nofollow">http://savannah.nongnu.org/download/duplicity/duplicity-0.4.12.tar.gz</a></p>
<p>I don&#8217;t believe the patches are required now, but haven&#8217;t done extensive tests yet.</p>
<p>In cygwin install, need to select following packages in addition to defaults:<br />
  gcc-core<br />
  gnupg<br />
  librsync-devel<br />
  ncftp<br />
  openssh<br />
  openssl<br />
  wget (to simplify installing the non-cygwin packages)</p>
<p>I couldn&#8217;t find python-dev anymore, but it didn&#8217;t seem to matter.</p>
<p>I had to download the following packages separately as they are not bundled as a cygwin package:<br />
  GnuPGInterface 0.3.2 or later (<a href="http://py-gnupg.sourceforge.net" rel="nofollow">http://py-gnupg.sourceforge.net</a>)<br />
  Boto 0.9d or later (<a href="http://code.google.com/p/boto" rel="nofollow">http://code.google.com/p/boto</a>) &#8212; if you wish to use the Amazon S3 service)<br />
  pexpect 2.1 or later (<a href="http://pexpect.sourceforge.net" rel="nofollow">http://pexpect.sourceforge.net</a>) &#8212;  if you plan to use the ssh backend</p>
<p>For some reason I&#8217;m getting the &#8220;mkpasswd (272): [1359] An internal error occurred.&#8221; message from my cygwin install and can&#8217;t find a good fix yet, but everything seems to work ok so far.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duplicity broken pipe</title>
		<link>http://katastrophos.net/andre/blog/2006/04/03/duplicity-042-on-cygwin/comment-page-1/#comment-22701</link>
		<dc:creator>duplicity broken pipe</dc:creator>
		<pubDate>Sat, 17 May 2008 21:34:17 +0000</pubDate>
		<guid isPermaLink="false">http://katastrophos.net/andre/blog/?p=29#comment-22701</guid>
		<description>Found this via google. Just for others:

Broken pipe occurs - at least with me - when using a key wit dsa over 1024 (e.g. 2048 default running ubuntu/debian).

Create a new key using lower strength!</description>
		<content:encoded><![CDATA[<p>Found this via google. Just for others:</p>
<p>Broken pipe occurs &#8211; at least with me &#8211; when using a key wit dsa over 1024 (e.g. 2048 default running ubuntu/debian).</p>
<p>Create a new key using lower strength!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://katastrophos.net/andre/blog/2006/04/03/duplicity-042-on-cygwin/comment-page-1/#comment-7719</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 19 Apr 2007 07:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://katastrophos.net/andre/blog/?p=29#comment-7719</guid>
		<description>Maximus,

I&#039;m using the same key for signing   encrypting and if I&#039;m using &quot;plain GPG&quot; it works perfectly.</description>
		<content:encoded><![CDATA[<p>Maximus,</p>
<p>I&#8217;m using the same key for signing   encrypting and if I&#8217;m using &#8220;plain GPG&#8221; it works perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maximus</title>
		<link>http://katastrophos.net/andre/blog/2006/04/03/duplicity-042-on-cygwin/comment-page-1/#comment-7717</link>
		<dc:creator>maximus</dc:creator>
		<pubDate>Thu, 19 Apr 2007 05:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://katastrophos.net/andre/blog/?p=29#comment-7717</guid>
		<description>check that u r using sign and encrypt key correctly...i.e. not one in place of other</description>
		<content:encoded><![CDATA[<p>check that u r using sign and encrypt key correctly&#8230;i.e. not one in place of other</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://katastrophos.net/andre/blog/2006/04/03/duplicity-042-on-cygwin/comment-page-1/#comment-2227</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 26 Dec 2006 20:24:46 +0000</pubDate>
		<guid isPermaLink="false">http://katastrophos.net/andre/blog/?p=29#comment-2227</guid>
		<description>I just started trying to work with this tool and am getting the same error.  Guess this doesn&#039;t bode well on finding a fix w/out some digging.</description>
		<content:encoded><![CDATA[<p>I just started trying to work with this tool and am getting the same error.  Guess this doesn&#8217;t bode well on finding a fix w/out some digging.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://katastrophos.net/andre/blog/2006/04/03/duplicity-042-on-cygwin/comment-page-1/#comment-2067</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 20 Dec 2006 15:48:38 +0000</pubDate>
		<guid isPermaLink="false">http://katastrophos.net/andre/blog/?p=29#comment-2067</guid>
		<description>Hey there,
thanks for your good tutorial! Too bad that I receive a &quot;broken pipe&quot; everytime I use duplicity, no way to make it work.

I execute
TMPDIR=&quot;/tmp&quot; PASSPHRASE=&quot;XXX&quot; nice -n 19 /usr/bin/duplicity --short-filenames  --encrypt-key XXX --sign-key XXX --include /etc/ --exclude &#039;**&#039; / file:///var/backups/

This is what I get:
No signatures found, switching to full backup.
Traceback (most recent call last):
  File &quot;/usr/bin/duplicity&quot;, line 373, in ?
    if __name__ == &quot;__main__&quot;: main()
  File &quot;/usr/bin/duplicity&quot;, line 366, in main
    if not sig_chain: full_backup(col_stats)
  File &quot;/usr/bin/duplicity&quot;, line 142, in full_backup
    bytes_written = write_multivol(&quot;full&quot;, tarblock_iter, globals.backend)
  File &quot;/usr/bin/duplicity&quot;, line 78, in write_multivol
    globals.gpg_profile)
  File &quot;/usr/lib/python2.4/site-packages/duplicity/gpg.py&quot;, line 215, in GPGWrit
eFile
    to_gpg_fp.write(data)
IOError: [Errno 32] Broken pipe
close failed: [Errno 32] Broken pipe

Do you have any idea?

Thanks,
Mike</description>
		<content:encoded><![CDATA[<p>Hey there,<br />
thanks for your good tutorial! Too bad that I receive a &#8220;broken pipe&#8221; everytime I use duplicity, no way to make it work.</p>
<p>I execute<br />
TMPDIR=&#8221;/tmp&#8221; PASSPHRASE=&#8221;XXX&#8221; nice -n 19 /usr/bin/duplicity &#8211;short-filenames  &#8211;encrypt-key XXX &#8211;sign-key XXX &#8211;include /etc/ &#8211;exclude &#8216;**&#8217; / file:///var/backups/</p>
<p>This is what I get:<br />
No signatures found, switching to full backup.<br />
Traceback (most recent call last):<br />
  File &#8220;/usr/bin/duplicity&#8221;, line 373, in ?<br />
    if __name__ == &#8220;__main__&#8221;: main()<br />
  File &#8220;/usr/bin/duplicity&#8221;, line 366, in main<br />
    if not sig_chain: full_backup(col_stats)<br />
  File &#8220;/usr/bin/duplicity&#8221;, line 142, in full_backup<br />
    bytes_written = write_multivol(&#8221;full&#8221;, tarblock_iter, globals.backend)<br />
  File &#8220;/usr/bin/duplicity&#8221;, line 78, in write_multivol<br />
    globals.gpg_profile)<br />
  File &#8220;/usr/lib/python2.4/site-packages/duplicity/gpg.py&#8221;, line 215, in GPGWrit<br />
eFile<br />
    to_gpg_fp.write(data)<br />
IOError: [Errno 32] Broken pipe<br />
close failed: [Errno 32] Broken pipe</p>
<p>Do you have any idea?</p>
<p>Thanks,<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duplicity at Katastrophos.net Blog</title>
		<link>http://katastrophos.net/andre/blog/2006/04/03/duplicity-042-on-cygwin/comment-page-1/#comment-38</link>
		<dc:creator>Duplicity at Katastrophos.net Blog</dc:creator>
		<pubDate>Tue, 04 Apr 2006 21:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://katastrophos.net/andre/blog/?p=29#comment-38</guid>
		<description>[...] Update 1: I&#8217;ve posted updated instructions for version 0.4.2 of duplicity here. [...]</description>
		<content:encoded><![CDATA[<p>[...] Update 1: I&#8217;ve posted updated instructions for version 0.4.2 of duplicity here. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
