This went absolutely flawless and perfect. Thanks to some good planning and nice scripts from Thorsten when it was originally installed.

We have organized subversion like this:

c:\Subversion\
c:\Subversion\Repository
c:\Subversion\1.4.3
c:\Subversion\1.5.5.1
c:\Subversion\<versionnumber>

In the subversion main folder we've a RegisterSVN.bat which registers a service using a certain version.

sc stop svnserve
sc delete svnserve
sc create svnserve binpath= "C:\Subversion\1.6.6\bin\svnserve.exe --service
  --root C:\Subversion\Repository" displayname= "NexusDB Subversion Repository"
  depend= tcpip start= auto
sc start svnserve

Read more about the handy sc.exe command line tool.

This structure and script allowed me to simply zip the full subversion folder, upload to the new server, unpack. Then I just had to run RegisterSVN.bat and everything was up and running. Easy peasy :)

Home | Community | Blogs | Hannes' Blog