LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-29-2009, 04:30 PM   #1
genmaicha
Member
 
Registered: Apr 2009
Posts: 38

Rep: Reputation: 15
SVN- moving server to a new machine


I have an SVN server running on a very old machine, and I'd like to migrate it over to a new machine. Currently all access to it is via https/apache. If I dump the current repo, copy over the dump and the password file, load them into a new repo on the new machine and set it up for apache/https access as before, will it be seamless for the user? I plan to update the DNS so the old hostname points to the new machine. Only caveat is that I'd like to use fsfs on the new machine (the old one uses berkeley db).
 
Old 05-29-2009, 07:46 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
If your question is "If I move the repo, will it be seamless to the user?" The answer is, as long as the host name is he same, the repo path is the same, and the access method is the same, then yes, it will be seamless. If any of that is different, then the user will have to update their remote repository location with the "switch" option.

If you question is "how do I move a repo and will the user notice?" then the latter is answered above, the former can be answered with a note I left for myself after the last time I moved a repo to a new machine:

Quote:
To move an svn repo to a new machine:

On the old server machine do:
svnadmin dump repositoryPath > repository.dumpfile

File transfer the repository.dumpfile file to the new server machine and over there do:
cd /path/to/new-repository-parent-directory
svnadmin create repository-name
svnadmin load repository-name < repository.dumpfile

Then on your client type:
svn switch --relocate oldurl newurl
I don't *think* that the storage type (fsfs vs bdb) matters.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
svn checkout failes to add corret EOL on windows machine +Yan Linux - Software 1 03-19-2009 01:31 AM
moving samba to another machine shishirkotkar Linux - Software 3 05-02-2008 12:48 AM
Moving website from one machine to another praisehim Linux - Newbie 2 11-11-2007 01:17 PM
Moving Debian from one machine to another hypernetics Linux - General 2 10-02-2007 10:41 AM
Moving accounts from a machine to another machine eyt Linux - Newbie 3 10-01-2003 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration