You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by cl...@SUNNYDAY.demon.co.uk on 2009/10/08 09:35:19 UTC

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

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Migration of svn repository from one server to another

Posted by Giulio Troccoli <gi...@uk.linedata.com>.
>


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: Ryan Schmidt [mailto:subversion-2009b@ryandesign.com]
> Sent: 08 October 2009 20:03
> To: Giulio Troccoli
> Cc: clive@SUNNYDAY.demon.co.uk; users@subversion.tigris.org
> Subject: Re: Migration of svn repository from one server to another
>
> On Oct 8, 2009, at 04:49, Giulio Troccoli wrote:
>
> > Yes, you DO need either svnserve or Apache (well, something that
> > allows you to use http, not necessarely Apache I think).
>
> Just to clarify on this point: Apache is the only way to
> serve a repository over http/https.
>

Thanks Ryan. I thought so but I wasn't 100% sure and I didn't want to rule the possibility out just in case the OP wanted to use something else.

Giulio

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Migration of svn repository from one server to another

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 8, 2009, at 04:49, Giulio Troccoli wrote:

> Yes, you DO need either svnserve or Apache (well, something that  
> allows you to use http, not necessarely Apache I think).

Just to clarify on this point: Apache is the only way to serve a  
repository over http/https.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Migration of svn repository from one server to another

Posted by Giulio Troccoli <gi...@uk.linedata.com>.
>


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@SUNNYDAY.demon.co.uk [mailto:clive@SUNNYDAY.demon.co.uk]
> Sent: 08 October 2009 10:35
> To: users@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@subversion.tigris.org].

Re: Migration of svn repository from one server to another

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, clive@SUNNYDAY.demon.co.uk!

> 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. 

If you intend to host your repository from a shared web hosting, you better
contact with your support staff for this.
They could be interesting in providing new services to their customers.

> 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. 

Yes, you need some kind of daemon to serve repository. Be it svnserve
(svn://), Apache (http(s)://), custom ssh (svn+ssh://) or (x)inetd (various
ways).


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 08.10.2009, <14:48>

Sorry for my terrible english...

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].