[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Restore SVN server from files

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Mon, 19 Mar 2012 08:43:22 +0100

Am 18.03.2012 14:49, schrieb Alin ILIE:
> I had a RAID 5 storage, and I used to have a SVN server on this.
> Unfortunately the RAID layout failed. I succeeded to the data from my
> server including the folder where I created the SVN repositories.
> Now that I have the files from repositories, what is the correct plan
> for re-installing the SVN server in a different location?

Note up front: Backup. SVN will not save you from the possibility of
data loss, just as your RAID didn't.

Now, in order to get the repos back online, just install an according
server (svnserve or Apache) and configure it so that it can find the
repos. Basically, you follow the instructions to set up a server but
skip the step where you create the repositories.

If the name of the machine changed or the URL where it serves the
repositories, all working copies will have become unusable, you will
have to tell them about the changed server URL with "svn relocate" (SVN
1.7) or "svn switch --relocate" (SVN <= 1.6).

Uli
**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2012-03-19 08:44:06 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.