<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>waelchatila.com - control tag</title>
  <link>http://waelchatila.com:80/tags/control/</link>
  <description>Notes on Software, Engineering and Science</description>
  <language>en</language>
  <copyright>Wael Chatila</copyright>
  <lastBuildDate>Thu, 11 Mar 2010 03:23:48 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>How to move a subversion repository to another server</title>
    <link>http://waelchatila.com:80/2007/03/06/1173223980000.html</link>
    
      
        <description>
          My closet server died last night. No big deal it was over ten years old and was running at 233MHz...besides it was my wife&#039;s old computer hehe. My friend Imran gave me one of his old work machines and I&#039;ve been moving stuff over. Since I had a svn repository on the old machine the situation presented itself with a problem to move the whole repository. Luckily the good people behind svn have thought about this and provide out-of-the box commands to do this. &lt;p/&gt;On the old server machine do.
&lt;div class=&#034;codeSample&#034;&gt;
svnadmin dump &lt;i&gt;repositoryPath&lt;/i&gt; &amp;gt; repository.dumpfile&lt;br&gt;
&lt;/div&gt;

File transfer the &lt;i&gt;repository.dumpfile&lt;/i&gt; file to the new server machine and over there do

&lt;div class=&#034;codeSample&#034;&gt;
cd /path/to/new-repository-parent-directory&lt;br&gt;
svnadmin create &lt;i&gt;repository-name&lt;/i&gt;&lt;br&gt;
svnadmin load &lt;i&gt;repository-name&lt;/i&gt; &lt; repository.dumpfile&lt;br&gt;
&lt;/div&gt;

Then on your client type 
&lt;div class=&#034;codeSample&#034;&gt;
svn switch --relocate &lt;i&gt;oldurl&lt;/i&gt; &lt;i&gt;newurl&lt;/i&gt;
&lt;/div&gt;
        </description>
      
      
    
    
    
    <category>Unix/Linux</category>
    
    <category>Windows</category>
    
    <comments>http://waelchatila.com:80/2007/03/06/1173223980000.html#comments</comments>
    <guid isPermaLink="true">http://waelchatila.com:80/2007/03/06/1173223980000.html</guid>
    <pubDate>Tue, 06 Mar 2007 23:33:00 GMT</pubDate>
  </item>
  
  </channel>
</rss>
