Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to move an SVN repository from one server to another
    text
    copied!<p>I need to copy the existing SVN repository from one development server to another. Per my understandings, I have come up with the steps. It would be great if someone can verify and let me know if I have missed any point.</p> <pre><code>Current server: dev10.dev.location.somename.com Current repo location: dev10$/export/svnrepo/reponame URL: svn:// dev10.dev.location.somename.com/export/svnrepo/newrepo/trunk New server: dev11.dev.location.somename.com New repo location: dev11$/export/svnrepo/newrepo </code></pre> <p>I would like to have a URL like svn://dev11.dev.location.somename.com/export/svnrepo/newrepo/trunk. Do I need to import the new repository?</p> <pre><code>SVN server --- **svnserve** </code></pre> <p>Steps:</p> <ol> <li><p>Install svnserve server in dev11</p></li> <li><p>Check working directory is fully checked-in at dev10 to Subversion, and back it up.</p></li> <li><p>Dump the Subversion repository. This is done with an <code>svnadmin</code> command: at dev10</p> <pre><code>svnadmin dump /export/svnrepo/reponame | gzip -9 - &gt; reponame.dump.gz </code></pre></li> <li><p>Create the new subversion repository ---- at dev11. To create a repository, ‘newrepo’, run the <code>svnadmin create</code> command from $SVNHOME/bin. Provide fullpath to the repository at dev11.</p> <pre><code>svnadmin create /export/svnrepo/newrepo </code></pre></li> <li><p>Copy the reponame.dump.gz file up to the dev11 server.</p></li> <li><p>Load the dumpfile into the new repository: at dev11</p> <pre><code>zcat reponame.dump.gz | svnadmin load /export/svnrepo/newrepo </code></pre></li> <li><p>Checkout the new repository to a directory at dev11</p> <pre><code>svn co svn:// dev11.dev.location.somename.com/export/svnrepo/newrepo/trunk </code></pre></li> <li><p>Switch my working directory to the new repository.</p></li> </ol>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload