<?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: Migrating Data from Postgres 7 to 8</title>
	<atom:link href="http://www.cyprich.com/2007/12/10/migrating-data-from-postgres-7-to-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyprich.com/2007/12/10/migrating-data-from-postgres-7-to-8/</link>
	<description>Occasionally Relevant Insights from a Software Builder</description>
	<lastBuildDate>Tue, 29 Nov 2011 16:52:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Johan Cyprich</title>
		<link>http://www.cyprich.com/2007/12/10/migrating-data-from-postgres-7-to-8/comment-page-1/#comment-50436</link>
		<dc:creator>Johan Cyprich</dc:creator>
		<pubDate>Mon, 10 Dec 2007 23:12:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyprich.com/2007/12/10/migrating-data-from-postgres-7-to-8/#comment-50436</guid>
		<description>I&#039;ve written 2 scripts for exporting and importing databases using the previous technique. You may need to find the path of the sh utility with the which command (i.e. which sh).

export.sh
=========
#! /bin/sh
pg_dump database&gt;backup/database.sql


import.sh
=========
#! /bin/sh
iconv -c -f UTF-8 -t UTF-8 -o clean_database.sql database.sql
psql -d database -f clean_database.sql</description>
		<content:encoded><![CDATA[<p>I&#8217;ve written 2 scripts for exporting and importing databases using the previous technique. You may need to find the path of the sh utility with the which command (i.e. which sh).</p>
<p>export.sh<br />
=========<br />
#! /bin/sh<br />
pg_dump database>backup/database.sql</p>
<p>import.sh<br />
=========<br />
#! /bin/sh<br />
iconv -c -f UTF-8 -t UTF-8 -o clean_database.sql database.sql<br />
psql -d database -f clean_database.sql</p>
]]></content:encoded>
	</item>
</channel>
</rss>

