How to move SVN repos to a different LOCAL drive

1,782 views
Skip to first unread message

Kovacs Janos

unread,
Apr 22, 2010, 5:49:22 AM4/22/10
to us...@tortoisesvn.tigris.org
Hi,

unfortunately our SVN repos are located on the C: drive of our server and we will run out of space very soon. Is there any way to copy the C:\Repositories folder to the D: drive and configure the SVN to load the repositories from there?

thanks!

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2592413

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


--
Subscription settings: http://groups.google.com/group/tortoisesvn/subscribe?hl=en

Jean-Marc van Leerdam

unread,
Apr 22, 2010, 6:01:55 AM4/22/10
to us...@tortoisesvn.tigris.org
Hi,

On 22 April 2010 11:49, Kovacs Janos <akk...@freemail.hu> wrote:
> Hi,
>
> unfortunately our SVN repos are located on the C: drive of our server and we will run out of space very soon. Is there any way to copy the C:\Repositories folder to the D: drive and configure the SVN to load the repositories from there?
>

This is a SVN server side question, which can be better asked on the
subversion lists[1]. It depends on your server type (Apache, svnserve)
how you should reconfigure the new repository locations.


[1] = us...@subversion.apache.org

--
Regards,

Jean-Marc
--
. ___
. @@ // \\ "De Chelonian Mobile"
. (_,\/ \_/ \ TortoiseSVN
. \ \_/_\_/> The coolest Interface to (Sub)Version Control
. /_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2592432

Bob Archer

unread,
Apr 22, 2010, 11:11:19 AM4/22/10
to us...@tortoisesvn.tigris.org
> Hi,
>
> unfortunately our SVN repos are located on the C: drive of our server and
> we will run out of space very soon. Is there any way to copy the
> C:\Repositories folder to the D: drive and configure the SVN to load the
> repositories from there?
>
> thanks!

Yes, it's pretty simple, but depends on how you are serving it. If you are using Apace then you need to change your httpd.conf file to point to the new location. If you are using svnserve you have to modify the service configuration which contains the path to the repo.

(I assume you are on windows since you use drive letters.)

BOb

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2592677

Kovacs Janos

unread,
Apr 22, 2010, 11:11:18 AM4/22/10
to us...@tortoisesvn.tigris.org
I have found the solution:

1, go to the server
2, copy the Repositories folder from C: to D:
3, launch the VisualSVN Server Manager
4, right click VisualSVN Server(Local), select Properties
5, add the new path, uncheck the permission checkbox
6, hit OK

If you find a problem (error message) then check the permissions of the folder on the C: drive and compare it to the folder on the D: drive. Make them the same and you are ready to go!

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2592682
Reply all
Reply to author
Forward
0 new messages