Solved

Move Subversion Repository To Another Drive

Posted on 2009-07-02
1
861 Views
Last Modified: 2013-11-25
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
Comment
Question by:braker15
1 Comment
 
LVL 1

Accepted Solution

by:
braker15 earned 0 total points
ID: 24796280
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question