<?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>/harry-webster.co(.uk&#124;m)/ &#187; svn</title>
	<atom:link href="http://www.harry-webster.co.uk/tag/svn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.harry-webster.co.uk</link>
	<description>Harry Webster&#039;s Blog</description>
	<lastBuildDate>Thu, 11 Aug 2011 18:43:03 +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>HOWTO migrate a subversion repository to a new host</title>
		<link>http://www.harry-webster.co.uk/2010/06/howto-migrate-a-subversion-repository-to-a-new-host/</link>
		<comments>http://www.harry-webster.co.uk/2010/06/howto-migrate-a-subversion-repository-to-a-new-host/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 15:05:06 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[subversion. migrate]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.harry-webster.co.uk/?p=87</guid>
		<description><![CDATA[I recently had to migrate a SVN repo to a new host aswell as moving it&#8217;s location on the server, this is how [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had to migrate a SVN repo to a new host aswell as moving it&#8217;s location on the server, this is how I did it.</p>
<p>On the existing server we&#8217;ll need to make a backup of the subversion repo:</p>
<p><em>$ svnadmin dump /home/current_repo_location &gt; my_repo.dump<br />
$ tar -zcvf /root/my_repo.tar.gz my_repo.dump</em></p>
<p>Depending on the size and age of your repository these two commands could take some time to complete.</p>
<p>Now log in to your to your new server</p>
<p><em>$ rsync -v -r &#8211;ignore-existing &#8211;delete -e ssh root@xxx:/root/my_repo.tar.gz /home/new_location/<br />
$ tar -zxvvf /root/my_repo.tar.gz<br />
$ svnadmin load </em><em>my_repo.dump</em><em> /home/new_location<br />
$ cd /home/new_location<br />
$ find . -path \*.svn/entries -exec perl -spi -le &#8216;s#current_location/project_name#new_location/project_name#&#8217; &#8216;{}&#8217; \;</em></p>
<p>That should do it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harry-webster.co.uk/2010/06/howto-migrate-a-subversion-repository-to-a-new-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a local subversion repo</title>
		<link>http://www.harry-webster.co.uk/2010/02/setting-up-a-local-subversion-repo/</link>
		<comments>http://www.harry-webster.co.uk/2010/02/setting-up-a-local-subversion-repo/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 15:26:00 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[checkout]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[svnadmin]]></category>

		<guid isPermaLink="false">http://www.harry-webster.co.uk/?p=18</guid>
		<description><![CDATA[First create the repository $ svnadmin create /home/subversion/name_of_project Then checkout thisproject into the directory where you&#8217;d like to work on it. $ svn [...]]]></description>
			<content:encoded><![CDATA[<p>First create the repository</p>
<pre>$ svnadmin create /home/subversion/name_of_project</pre>
<p>Then checkout thisproject into the directory where you&#8217;d like to work on it.</p>
<pre>$ svn checkout file:///home/subversion/name_of_project /home/me/my_project
</pre>
<p>If you&#8217;re wanting to checkout this repo onto another server using SSH you can do this but running:</p>
<pre>$ svn co svn+ssh://username@your.remote-server.com/home/subversion/name_of_project /home/me/my_project</pre>
<p>In many cases none standard SSH ports are used, which can cause a problem connecting in this way, personally I resolved this by modifying my ~/.ssh/config like this:</p>
<pre>[your.remote-server.com]
    User my_username
    Port 12345</pre>
<p>This means that when you SSH to your SVN repo you&#8217;ll always connect using the username my_username and the SSH port 12345.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harry-webster.co.uk/2010/02/setting-up-a-local-subversion-repo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

