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

Re: relocate and dump/load

From: Michael Hüttermann <michael_at_huettermann.net>
Date: Wed, 22 Aug 2012 13:46:54 +0200

Hello Uli,
thanks. The new target repository has content already. With other words:
they dumped content (that has to be loaded) will get other revision
numbers once loaded into the new repo. In this case, does a "relocate"
work if I just change the UUID in the dump file to the UUID of the new
repository? The content of the dump file is not modified. It will be
loaded as-is.

Thanks!

Regards/Gruß zurück!
Michael

> Am 22.08.2012 12:29, schrieb Michael Hüttermann:
>> does a "svn relocate" in a workspace work when I'm migrating to a
>> different server *and* dump/load the old repo into a new repository, on
>> the new server?
>
> "svn relocate" tells the working copy that the identical repository is
> to be accessed via a different URL from now on. The important part there
> is the word "identical", which refers to the repo's ID. When loading an
> empty repository from a dumpfile, the default is to take the ID from the
> dumpfile, otherwise the ID generated by "svnadmin create" is preserved.
>
> Of course, even if the repositories have the same ID, if they have
> different contents (like different revision history) it will still break
> things.
>
> For your case, it works if the new repository
> 1. has the same ID, preserve that while loading
> 2. has equivalent content, don't modify the dump file
>
> BTW: SVN is not a magic backup tool, it can't save you from hardware
> failure. Your backup/recovery plan should include the answers to the
> above already!
>
>
> Schoene Gruesse aus Hamburg!
>
> 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-08-22 13:47:29 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.