<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Christoffer Kjølbæk &#187; Backup</title>
	<atom:link href="http://ostehamster.dk/blog/index.php/category/backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://ostehamster.dk/blog</link>
	<description>I have a blog, therefore I am…</description>
	<lastBuildDate>Tue, 03 Jan 2012 22:37:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>duplicity under Ubuntu Feisty Fawn</title>
		<link>http://ostehamster.dk/blog/index.php/2007/05/20/duplicity-under-ubuntu-feisty-fawn/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/05/20/duplicity-under-ubuntu-feisty-fawn/#comments</comments>
		<pubDate>Sun, 20 May 2007 12:56:26 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Feisty Fawn]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Duplicity]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=29</guid>
		<description><![CDATA[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' &#124; [...]]]></description>
			<content:encoded><![CDATA[<p><strong>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.</strong><br />
The problem is, that cd in the below isn't executed, only ls -1 is, which give the content of the users home directory.</p>
<blockquote><p>'echo -e 'cd /path/to/the/backup/directory<br />
ls -1' | sftp -b - user@some.serer.com'</p></blockquote>
<p><span id="more-29"></span></p>
<p>It seems that <a href="http://duplicity.nongnu.org/">duplicity</a> doesn't work with Python 2.5, which is the version shipped with Ubuntu Feisty Fawn. But this <a href="https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/88617">bugreport</a> says that it will work, if compiled with Python 2.4.</p>
<p><strong>Here is how you do</strong><br />
Start by installing the necessary tools:</p>
<blockquote><p>sudo apt-get install python2.4 librsync-dev python-dev python2.4-dev</p></blockquote>
<p>download the <a href="http://savannah.nongnu.org/download/duplicity/duplicity-0.4.2.tar.gz">duplicity source</a> and untar it:</p>
<blockquote><p>wget http://savannah.nongnu.org/download/duplicity/duplicity-0.4.2.tar.gz<br />
tar -zxvf duplicity-0.4.2.tar.gz</p></blockquote>
<p>Now simply build and install it, using Python 2.4</p>
<blockquote><p>
cd duplicity-0.4.2<br />
sudo python2.4 setup.py install</p></blockquote>
<p>That's it, everything should work now. Ready to backup files to <a href="http://rsync.net/">rsync.net</a> :)</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/05/20/duplicity-under-ubuntu-feisty-fawn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

