<?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: Bash Script: Incremental Encrypted Backups with Duplicity (Amazon S3)</title>
	<atom:link href="http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/</link>
	<description>Where I go to remember what I did</description>
	<lastBuildDate>Sat, 13 Mar 2010 22:21:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kevin</title>
		<link>http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/comment-page-1/#comment-15861</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 13 Mar 2010 22:21:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damontimm.com/?p=131#comment-15861</guid>
		<description>In case anyone runs across the same issue, it appears the offending directory is /home/virtfs. If you are running a WHM/CPanel setup and want to use duplicity to backup your server, then you&#039;ll want to exclude /home/virtfs from your backups.</description>
		<content:encoded><![CDATA[<p>In case anyone runs across the same issue, it appears the offending directory is /home/virtfs. If you are running a WHM/CPanel setup and want to use duplicity to backup your server, then you&#8217;ll want to exclude /home/virtfs from your backups.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damon</title>
		<link>http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/comment-page-1/#comment-15859</link>
		<dc:creator>Damon</dc:creator>
		<pubDate>Sat, 13 Mar 2010 19:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damontimm.com/?p=131#comment-15859</guid>
		<description>Duplicity&#039;s most basic command line structure is:

&lt;ul class=&quot;terminal&quot;&gt;&lt;li&gt;&lt;code&gt;duplicity src dest&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;

In our case, &lt;code&gt;ROOT&lt;/code&gt; is our &lt;code&gt;src&lt;/code&gt; ... you do not have to have an include or an exclude list (those are optional) but you do need a src and a dest ... (at least, as far as I know).</description>
		<content:encoded><![CDATA[<p>Duplicity&#8217;s most basic command line structure is:</p>
<ul class="terminal">
<li><code>duplicity src dest</code></li>
</ul>
<p>In our case, <code>ROOT</code> is our <code>src</code> &#8230; you do not have to have an include or an exclude list (those are optional) but you do need a src and a dest &#8230; (at least, as far as I know).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/comment-page-1/#comment-15858</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 13 Mar 2010 18:54:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damontimm.com/?p=131#comment-15858</guid>
		<description>If INCLIST requires full paths, then what&#039;s the point of the ROOT parameter?</description>
		<content:encoded><![CDATA[<p>If INCLIST requires full paths, then what&#8217;s the point of the ROOT parameter?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damon</title>
		<link>http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/comment-page-1/#comment-15854</link>
		<dc:creator>Damon</dc:creator>
		<pubDate>Sat, 13 Mar 2010 15:29:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damontimm.com/?p=131#comment-15854</guid>
		<description>I added an option to the latest version of the script to allow you to easily output the command without having to modify the source ...</description>
		<content:encoded><![CDATA[<p>I added an option to the latest version of the script to allow you to easily output the command without having to modify the source &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damon</title>
		<link>http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/comment-page-1/#comment-15838</link>
		<dc:creator>Damon</dc:creator>
		<pubDate>Fri, 12 Mar 2010 18:43:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damontimm.com/?p=131#comment-15838</guid>
		<description>Sure is - check out &lt;a href=&quot;http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/comment-page-1/#comment-15735&quot; rel=&quot;nofollow&quot;&gt;this comment&lt;/a&gt; for how to do it.</description>
		<content:encoded><![CDATA[<p>Sure is &#8211; check out <a href="http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/comment-page-1/#comment-15735" rel="nofollow">this comment</a> for how to do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/comment-page-1/#comment-15837</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Fri, 12 Mar 2010 18:22:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damontimm.com/?p=131#comment-15837</guid>
		<description>Is there something I can add to the script myself to do that?</description>
		<content:encoded><![CDATA[<p>Is there something I can add to the script myself to do that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damon</title>
		<link>http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/comment-page-1/#comment-15835</link>
		<dc:creator>Damon</dc:creator>
		<pubDate>Fri, 12 Mar 2010 17:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damontimm.com/?p=131#comment-15835</guid>
		<description>If you are generating an appropriate command line argument I would imagine it is a duplicity issue -- I&#039;m not active in duplicities development ... probably a good question for launchpad.  

Maybe I should add a way to generate the script &quot;output command&quot; so its easier to debug ...</description>
		<content:encoded><![CDATA[<p>If you are generating an appropriate command line argument I would imagine it is a duplicity issue &#8212; I&#8217;m not active in duplicities development &#8230; probably a good question for launchpad.  </p>
<p>Maybe I should add a way to generate the script &#8220;output command&#8221; so its easier to debug &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/comment-page-1/#comment-15833</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Fri, 12 Mar 2010 17:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damontimm.com/?p=131#comment-15833</guid>
		<description>Well, I&#039;m not getting the same errors now that I&#039;ve upgraded to version 0.6.08b, but after an hour of backing up to S3, I get this. Any ideas? 

&lt;pre class=&quot;brush: bash;&quot;&gt;
# /usr/local/sbin/dt-s3-backup.sh --backup
Traceback (most recent call last):
  File &quot;/usr/bin/duplicity&quot;, line 1239, in ?
    with_tempdir(main)
  File &quot;/usr/bin/duplicity&quot;, line 1232, in with_tempdir
    fn()
  File &quot;/usr/bin/duplicity&quot;, line 1205, in main
    full_backup(col_stats)
  File &quot;/usr/bin/duplicity&quot;, line 416, in full_backup
    globals.backend)
  File &quot;/usr/bin/duplicity&quot;, line 294, in write_multivol
    globals.gpg_profile, globals.volsize)
  File &quot;/usr/lib/python2.4/site-packages/duplicity/gpg.py&quot;, line 279, in GPGWriteFile
    data = block_iter.next(min(block_size, bytes_to_go)).data
  File &quot;/usr/lib/python2.4/site-packages/duplicity/diffdir.py&quot;, line 505, in next
    result = self.process(self.input_iter.next(), size)
  File &quot;/usr/lib/python2.4/site-packages/duplicity/diffdir.py&quot;, line 631, in process
    data, last_block = self.get_data_block(fp, size - 512)
  File &quot;/usr/lib/python2.4/site-packages/duplicity/diffdir.py&quot;, line 658, in get_data_block
    buf = fp.read(read_size)
  File &quot;/usr/lib/python2.4/site-packages/duplicity/diffdir.py&quot;, line 415, in read
    buf = self.infile.read(length)
  File &quot;/usr/lib/python2.4/site-packages/duplicity/diffdir.py&quot;, line 384, in read
    buf = self.infile.read(length)
IOError: [Errno 22] Invalid argument
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Well, I&#8217;m not getting the same errors now that I&#8217;ve upgraded to version 0.6.08b, but after an hour of backing up to S3, I get this. Any ideas? </p>
<pre class="brush: bash;">
# /usr/local/sbin/dt-s3-backup.sh --backup
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1239, in ?
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1232, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1205, in main
    full_backup(col_stats)
  File "/usr/bin/duplicity", line 416, in full_backup
    globals.backend)
  File "/usr/bin/duplicity", line 294, in write_multivol
    globals.gpg_profile, globals.volsize)
  File "/usr/lib/python2.4/site-packages/duplicity/gpg.py", line 279, in GPGWriteFile
    data = block_iter.next(min(block_size, bytes_to_go)).data
  File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 505, in next
    result = self.process(self.input_iter.next(), size)
  File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 631, in process
    data, last_block = self.get_data_block(fp, size - 512)
  File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 658, in get_data_block
    buf = fp.read(read_size)
  File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 415, in read
    buf = self.infile.read(length)
  File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 384, in read
    buf = self.infile.read(length)
IOError: [Errno 22] Invalid argument
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/comment-page-1/#comment-15830</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Fri, 12 Mar 2010 15:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damontimm.com/?p=131#comment-15830</guid>
		<description>No kidding; a big thanks, indeed! Duplicity has been such a wonderful thing for our server backups, I can&#039;t live without it!

Still in the middle of a new backup, but there aren&#039;t any errors yet. That&#039;s a good sign.</description>
		<content:encoded><![CDATA[<p>No kidding; a big thanks, indeed! Duplicity has been such a wonderful thing for our server backups, I can&#8217;t live without it!</p>
<p>Still in the middle of a new backup, but there aren&#8217;t any errors yet. That&#8217;s a good sign.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://blog.damontimm.com/bash-script-incremental-encrypted-backups-duplicity-amazon-s3/comment-page-1/#comment-15823</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Fri, 12 Mar 2010 07:04:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damontimm.com/?p=131#comment-15823</guid>
		<description>So, this problem seemed to have been caused by something in the Duplicity update.  Upgrading to &lt;a href=&quot;https://launchpad.net/duplicity/0.6-series/0.6.08b&quot; rel=&quot;nofollow&quot;&gt;version 0.6.08b&lt;/a&gt; fixed the issue for me.

Thanks to Damon and also to the the folks over on the &lt;a href=&quot;https://answers.launchpad.net/duplicity/+question/103950&quot; rel=&quot;nofollow&quot;&gt;Duplicity Launchpad&lt;/a&gt; site for all the help tracking this down!</description>
		<content:encoded><![CDATA[<p>So, this problem seemed to have been caused by something in the Duplicity update.  Upgrading to <a href="https://launchpad.net/duplicity/0.6-series/0.6.08b" rel="nofollow">version 0.6.08b</a> fixed the issue for me.</p>
<p>Thanks to Damon and also to the the folks over on the <a href="https://answers.launchpad.net/duplicity/+question/103950" rel="nofollow">Duplicity Launchpad</a> site for all the help tracking this down!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
