Moving SVN to the new server

Everything concerning SVN, our wiki and this forum.

Moderator: PPS-Leaders

Post Reply
smerkli
Human Space Navy Lieutenant
Posts: 20
Joined: Mon Mar 01, 2010 7:28 pm

Moving SVN to the new server

Post by smerkli » Thu Apr 03, 2014 5:12 pm

Hey,

I'm planning the move of the SVN repository to the new
server at orxonox2.vseth.ethz.ch. I plan on keeping this thread up to date with
what I find out and plan to do so you guys can give me feedback. This first
post is just a list of what I've found out so far:
  1. The SVN repository we're currently using is stored on the old
    server in /var/svn/game/ and is about 3.3 gb in size.
  2. This folder can just be copied to a different place using tools like
    rsync. I tried that today with copying it to my home computer and I could
    check out the trunk and data_extern locally without any issues.
  3. The SVN access from externally seems to be handled using libapache-svn
    and the apache site 02_svn.orxonox.net.conf. This also specifies to use
    the /var/svn/svnaccess-read-only file for authorization purposes.
I therefore plan on just installing subversion on the new server as well as
libapache-svn, then rsyncing the /var/svn/game folder as well as the svnusers,
svnaccess and svnaccess-read-only files to the new server's /var/svn and
see whether I can check out and commit with my user.

Before we do the full transition, I'll be looking at redirects. Beni and I already
talked a bit about them, apparently they are currently simply done as apache sites.
This will likely mess up the certificate stuff even further, but that's a separate issue.
But in theory, if redirects work well, we can do the change from the old to the new
server without users noticing anything or having to re-checkout their repos - similar
to what Beni has done with the forum.

What do you guys think? Are my assumptions correct? I also wanted to ask here
before I go around installing stuff on the new server.

User avatar
x3n
Baron Vladimir Harkonnen
Posts: 810
Joined: Mon Oct 30, 2006 5:40 pm
Contact:

Re: Moving SVN to the new server

Post by x3n » Thu Apr 03, 2014 9:29 pm

Maybe test it with one of the other repositories first (less frequent commits) and see if redirection works.
Fabian 'x3n' Landau, Orxonox developer

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests