<?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>Tim's Weblog &#187; s3</title>
	<atom:link href="http://blog.hokkertjes.nl/tag/s3/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hokkertjes.nl</link>
	<description>Random Thoughts and Rants</description>
	<lastBuildDate>Fri, 23 Jul 2010 11:41:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>duplicity in MacPorts, backup to S3</title>
		<link>http://blog.hokkertjes.nl/2008/06/20/duplicity-in-macports-backup-to-s3/</link>
		<comments>http://blog.hokkertjes.nl/2008/06/20/duplicity-in-macports-backup-to-s3/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 12:03:22 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[duplicity]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[s3]]></category>

		<guid isPermaLink="false">http://blog.hokkertjes.nl/?p=490</guid>
		<description><![CDATA[Duplicity from MacPorts is currently broken. The problem is in the portfile, which wants to use Python 2.5. However, there is no OpenSSL package for Python 2.5 in MacPorts, which gives you this error if you try to backup to S3 through SSL: File "/opt/local/lib/python2.5/httplib.py", line 1135, in connect ssl = socket.ssl(sock, self.key_file, self.cert_file) AttributeError: [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://duplicity.nongnu.org/">Duplicity</a> from <a href="http://www.macports.org/">MacPorts</a> is currently broken. The problem is in the portfile, which wants to use <a href="http://www.python.org/">Python</a> 2.5. However, there is no <a href="http://www.openssl.org/">OpenSSL</a> package for Python 2.5 in MacPorts, which gives you this error if you try to backup to S3 through SSL:</p>
<p><code>  File "/opt/local/lib/python2.5/httplib.py", line 1135, in connect<br />
    ssl = socket.ssl(sock, self.key_file, self.cert_file)<br />
AttributeError: 'module' object has no attribute 'ssl'</code></p>
<p>The solution is to edit the Portfile (which lives in /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/duplicity/Portfile on my machine) and change &#8220;python25&#8243; in &#8220;python24&#8243; and halfway through the file change the py25-* packages in py-* packages. Then install the port. That fixes it.</p>
<p>Don&#8217;t forget to *not* upgrade the port without changing the Portfile&#8230;</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Tags: <a class='technorati-link' href='http://technorati.com/tag/duplicity' rel='tag' target='_self'>duplicity</a>, <a class='technorati-link' href='http://technorati.com/tag/macports' rel='tag' target='_self'>macports</a>, <a class='technorati-link' href='http://technorati.com/tag/python' rel='tag' target='_self'>python</a>, <a class='technorati-link' href='http://technorati.com/tag/s3' rel='tag' target='_self'>s3</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.hokkertjes.nl/2008/06/20/duplicity-in-macports-backup-to-s3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MySQL on S3&#8230; not yet</title>
		<link>http://blog.hokkertjes.nl/2008/05/26/mysql-on-s3-not-yet/</link>
		<comments>http://blog.hokkertjes.nl/2008/05/26/mysql-on-s3-not-yet/#comments</comments>
		<pubDate>Mon, 26 May 2008 19:41:27 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[s3]]></category>

		<guid isPermaLink="false">http://blog.hokkertjes.nl/?p=489</guid>
		<description><![CDATA[Ok, I&#8217;ve been playing with EC2 and S3. Using quite a long and complicated script to create an AMI (which is Amazon&#8217;s term for a disk image). The script is coming along nicely, using debootstrap to create a Debian etch image. Yesterday and today (well, only in the evening today), I&#8217;ve been trying to get [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, I&#8217;ve been playing with EC2 and S3. Using quite a long and complicated script to create an AMI (which is Amazon&#8217;s term for a disk image). The script is coming along nicely, using debootstrap to create a Debian etch image.</p>
<p>Yesterday and today (well, only in the evening today), I&#8217;ve been trying to get MySQL working on an <a href="http://code.google.com/p/s3fs/">s3fs drive</a>, but I&#8217;m afraid that&#8217;s not going to work. Well, part of it might be because I&#8217;m trying to set it up from home and not from an EC2 instance, but still. MySQL just refuses to start with a weird message:</p>
<p><code>Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!<br />
invoke-rc.d: initscript mysql, action "start" failed.</code></p>
<p>After which it hangs, altough it seems like MySQL did start. Maybe it&#8217;s something with the initscript. I realised in the end that I don&#8217;t really need MySQL running in such a setup. Making dumps every so often should be enough for what we have in mind. So I&#8217;m going to script an automatic recovery of the database, based on a dump every 5 minutes. That should work without losing any speed.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Tags: <a class='technorati-link' href='http://technorati.com/tag/debian' rel='tag' target='_self'>debian</a>, <a class='technorati-link' href='http://technorati.com/tag/ec2' rel='tag' target='_self'>ec2</a>, <a class='technorati-link' href='http://technorati.com/tag/mysql' rel='tag' target='_self'>mysql</a>, <a class='technorati-link' href='http://technorati.com/tag/s3' rel='tag' target='_self'>s3</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.hokkertjes.nl/2008/05/26/mysql-on-s3-not-yet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
