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

RE: Migration of svn repository from one server to another

From: Giulio Troccoli <giulio.troccoli_at_uk.linedata.com>
Date: Thu, 8 Oct 2009 10:49:26 +0100

>

Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447

-----Original Message-----

> From: clive_at_SUNNYDAY.demon.co.uk [mailto:clive_at_SUNNYDAY.demon.co.uk]
> Sent: 08 October 2009 10:35
> To: users_at_subversion.tigris.org
> Subject: Migration of svn repository from one server to another
>
> Hello,
>
> I'm planning a Subversion repository move from one server
> machine to another. I've already determined that the
> repository doesn't contain any file path references to its
> location, meaning that it should be fully portable to its new
> location.
>
> What I now need to be sure of, and I apologise if this is a
> rather basic question, is whether I need any svn agent or
> daemon running on the new server in order to successfully
> host the repository and allow svn clients to use it.
>
> In the help files, I've seen references to 'svnserve'
> (possibly 'mod_dav_svn' too).
>
> Do I really need these running on the server that'll be
> hosting the repository? I'm on a Windows workstation, and the
> repository will be on a Windows server. I don't need to be
> doing anything advanced, simply checking out and committing.
>
> Very many thanks in anticipation for any help you can give.
>
> Kind regards,
>
> Clive Wilson

Yes, you DO need either svnserve or Apache (well, something that allows you to use http, not necessarely Apache I think). That's because accessing a repository using any other method rather than svn:// or http:// (i.e. file://) is not recommended and discourage (unless for testing).

But how do you currently access the repository? Using svn or http? Whatever you use you will have to "replicate" it on the new server: svnserve or Apache.

Regarding the migration I suggest you either use the dump/load method or svnsync. The former is extremely easy but requires possibly a big file to be copied over (depending on the size of your repository). The latter save space but it involves more setup.

As usual the SVN Book (http://svnbook.red-bean.com/) is a great source of information.

Giulio

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2404871

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-08 11:50:26 CEST

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