You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "robert@infotility.com" <ro...@infotility.com> on 2006/08/28 18:33:48 UTC
Moving subversion repo from one machine to another
Hello,
I want to move a subversion repo (FSFS) from one box (RHEL 3)
to another (CentOS 4.3). (Both are Linux.)
Is it enough to copy the repository files & directories verbatim?
(e.g. via tar or scp -r)
I guess that svndump would work OK too.
Thanks a lot for any info.
Robert Dodier
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Moving subversion repo from one machine to another
Posted by Jim Weir <ja...@hotmail.com>.
>From: "Iv�n Alem�n" <bo...@gmail.com>
>To: "Jim Weir" <ja...@hotmail.com>
>CC: users@subversion.tigris.org
>Subject: Re: Moving subversion repo from one machine to another
>Date: Mon, 28 Aug 2006 16:39:22 -0500
>
>[...]
>>
>>How do just you delete a repository?
>>
>>I'm new and have been learning a lot and want to delete and start over
>>with
>>an 'initial import'...
>>
>>Jim
>>
>
>I don't understand your question... with subversion you can handle
>several repositories... unless you want to use the same name of a
>repository... then you have to delete "manually" the folder that holds
>the repository DB. Because I don't think svnadmin has something to do
>the job �anyone?
>
>Example
>debian:/home/devel/repos$ ls qualityctrl/
>conf dav db format hooks locks README.txt
>debian:/home/devel/repos$
>debian:/home/devel/repos$ rm -rf qualityctrl/
>
>Then you just delete from
>Sorry I am assuming that you are under Linux or something similar but
>same instructions apply everywhere.
>
>Regards.
>--
>Iv�n Alem�n ~ [[ m o f o ]] ~
>Debian (SID)
>
>-----BEGIN GEEK CODE BLOCK-----
>Version: 3.12
>G!>GCM d+ s: a? C+++ UL++
>P L+>+++$ E--- W++>+ N* o---
>K- w O- M+ V-- PS++ PE-- Y PGP+>++
>t-- 5 X R+ !tv b++ DI-- D+++ G+
>e++ h* r+ z*>*$
>------END GEEK CODE BLOCK------
>
>bonovoxmofo.blogspot.com
I'm new to subversion, I just want to make sure that deleting the directory
is the cleanest way to do it..
Thnks,
Jim
_________________________________________________________________
Get real-time traffic reports with Windows Live Local Search
http://local.live.com/default.aspx?v=2&cp=42.336065~-109.392273&style=r&lvl=4&scene=3712634&trfc=1
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Moving subversion repo from one machine to another
Posted by Iván Alemán <bo...@gmail.com>.
[...]
>
> How do just you delete a repository?
>
> I'm new and have been learning a lot and want to delete and start over with
> an 'initial import'...
>
> Jim
>
I don't understand your question... with subversion you can handle
several repositories... unless you want to use the same name of a
repository... then you have to delete "manually" the folder that holds
the repository DB. Because I don't think svnadmin has something to do
the job ¿anyone?
Example
debian:/home/devel/repos$ ls qualityctrl/
conf dav db format hooks locks README.txt
debian:/home/devel/repos$
debian:/home/devel/repos$ rm -rf qualityctrl/
Then you just delete from
Sorry I am assuming that you are under Linux or something similar but
same instructions apply everywhere.
Regards.
--
Iván Alemán ~ [[ m o f o ]] ~
Debian (SID)
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
G!>GCM d+ s: a? C+++ UL++
P L+>+++$ E--- W++>+ N* o---
K- w O- M+ V-- PS++ PE-- Y PGP+>++
t-- 5 X R+ !tv b++ DI-- D+++ G+
e++ h* r+ z*>*$
------END GEEK CODE BLOCK------
bonovoxmofo.blogspot.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Moving subversion repo from one machine to another
Posted by Jim Weir <ja...@hotmail.com>.
>From: "Iv�n Alem�n" <bo...@gmail.com>
>To: "robert@infotility.com" <ro...@infotility.com>
>CC: users@subversion.tigris.org
>Subject: Re: Moving subversion repo from one machine to another
>Date: Mon, 28 Aug 2006 13:43:44 -0500
>
>Use
>svnadmin dump
>svnadmin load
>svn switch --relocate for the clients
>
>Read for more reference,
>
>http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.reposadmin.maint.migrate
>
>
>
>2006/8/28, robert@infotility.com <ro...@infotility.com>:
>>Hello,
>>
>>I want to move a subversion repo (FSFS) from one box (RHEL 3)
>>to another (CentOS 4.3). (Both are Linux.)
>>
>>Is it enough to copy the repository files & directories verbatim?
>>(e.g. via tar or scp -r)
>>
>>I guess that svndump would work OK too.
>>
>>Thanks a lot for any info.
>>
>>Robert Dodier
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>
>
>--
>Iv�n Alem�n ~ [[ m o f o ]] ~
>Debian (SID)
>
>-----BEGIN GEEK CODE BLOCK-----
>Version: 3.12
>G!>GCM d+ s: a? C+++ UL++
>P L+>+++$ E--- W++>+ N* o---
>K- w O- M+ V-- PS++ PE-- Y PGP+>++
>t-- 5 X R+ !tv b++ DI-- D+++ G+
>e++ h* r+ z*>*$
>------END GEEK CODE BLOCK------
>
>bonovoxmofo.blogspot.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
How do just you delete a repository?
I'm new and have been learning a lot and want to delete and start over with
an 'initial import'...
Jim
_________________________________________________________________
Get the new Windows Live Messenger!
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Moving subversion repo from one machine to another
Posted by Iván Alemán <bo...@gmail.com>.
Use
svnadmin dump
svnadmin load
svn switch --relocate for the clients
Read for more reference,
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.reposadmin.maint.migrate
2006/8/28, robert@infotility.com <ro...@infotility.com>:
> Hello,
>
> I want to move a subversion repo (FSFS) from one box (RHEL 3)
> to another (CentOS 4.3). (Both are Linux.)
>
> Is it enough to copy the repository files & directories verbatim?
> (e.g. via tar or scp -r)
>
> I guess that svndump would work OK too.
>
> Thanks a lot for any info.
>
> Robert Dodier
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
--
Iván Alemán ~ [[ m o f o ]] ~
Debian (SID)
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
G!>GCM d+ s: a? C+++ UL++
P L+>+++$ E--- W++>+ N* o---
K- w O- M+ V-- PS++ PE-- Y PGP+>++
t-- 5 X R+ !tv b++ DI-- D+++ G+
e++ h* r+ z*>*$
------END GEEK CODE BLOCK------
bonovoxmofo.blogspot.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Moving subversion repo from one machine to another
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 28, 2006, at 20:33, robert@infotility.com wrote:
> I want to move a subversion repo (FSFS) from one box (RHEL 3)
> to another (CentOS 4.3). (Both are Linux.)
>
> Is it enough to copy the repository files & directories verbatim?
> (e.g. via tar or scp -r)
As far as I know, for an FSFS repo, that should be fine. Make sure
you have the same version of Subversion (or newer) on the new server.
> I guess that svndump would work OK too.
Sure, "svnadmin dump" would work fine too. You should at the least do
"svnadmin verify" on the old machine before beginning the migration,
to ensure everything is in tact before the move, and of course turn
off write access to the repository during the move.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org