Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Move Subversion Repository To Another Drive

Posted on 2009-07-02
1
Medium Priority
?
869 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

670 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