Solved

Move Subversion Repository To Another Drive

Posted on 2009-07-02
1
857 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now