[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 871
  • Last Modified:

Move Subversion Repository To Another Drive

O/S: FreeBSD 6.1-RELEASE #0: Sun May  7 04:42:56 UTC 2006    
svn, version 1.4.0 (r21228)
   compiled Oct  2 2006, 13:03:57

I'd like to move some subversion repositories located in /usr/local/svn to /u1/svn_spill

Here's my plan (for each repo i want to move):

svnadmin hotcopy /usr/local/svn/repo1 /u1/svn_spill/repo1
rm -R /usr/local/svn/repo1
ln -s /u1/svn_spill/repo1 /usr/local/svn/repo1

If i did an ls -lta in /usr/local/svn i would then see

lrwxr-xr-x   1 root  svn      22 Mar  9 20:32 repo1@ -> /u1/svn_spill/repo1



Will this work?
0
braker15
Asked:
braker15
1 Solution
 
braker15Author Commented:
my solution worked, booyah!


note:
you must chown -R svn:svn /path/to/repo and chmod -R as well to set permissions so users can write
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now