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

Re: How to move a Repository and its associated folder to a new server

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Fri, 28 Oct 2011 08:42:30 +0200

Am 27.10.2011 23:56, schrieb Big George:
> In PC1 I have installed:
> - Subversion for Win32, version 1.6.0.
> - TortoiseSVN 1.6.16 for Win32

Consider upgrading the Subversion installation to the latest 1.6,
several bugfixes have been made there.

> What I try to do is to move my Repository and folder D:\Scripts_DB
> (with all its changes ) from PC1 to PC2.

There are two things involved for moving the repo:
1. Moving the repo itself
A simple file-system copy would do the job.
2. Tell your working copy
Your working copies know which repository (URL) they were checked out
from. You need to "relocate" these to point at the new repository
position ("svn switch --relocate ..").

The working copies themselves can be moved or copied as you like, no
special precaution necessary, provided you stay on the same operating
system family.

BTW: Do you have a backup strategy? Seriously, consider the case that
PC1 was gone due to hardware failure. How do you recover from this case?
The point is that moving the repository allows some shortcuts to make it
quicker, but a backup allows you to restore it and the rest of your
infrastructure from scratch.

Good luck!

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 2011-10-28 08:43:15 CEST

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.