# Moving Windows SVN repositories to a Linux SVN server

I have a windows server running a VisualSVN server...I think the version is 2.5.  We want to transfer our repositories to a Linux SVN server, and the Linux admin doesn't know anything about the Windows SVN server.  I barely know anything about the Windows server either, but I am the one who set it up.  I have read about a "hotcopy" function.  Can this be run in the Windows environment and then transferred to the Linux server?  If not, how can I package our repositories and give them to the Linux admin?
LVL 1
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:
You need to dump the repos on your old server and load that dump on your new server:
svnadmin dump c:\path\to\repos > dump.file

this works all the same on every svn implementation; you will not loose anything. First, setup svn on your Linux machine and test it, then decommission the Windows box.
0
Author Commented:
Thanks for the information helge000.  As far as the new Linux box, I am handing that project over to a SVN admin guy who knows what he's doing on the Linux side of things.  He just needs to get my data in a format that acceptable to the Linux servers.  He is relying on me to handle the Windows side of things.

The first line (svnadmin dump c:\...) you mentioned...it appears command line.  I've only used the gui VisualSVN server console on my Windows machine.  Do I just go to a regular command prompt in Windows to run this or do I need to run is under something else?  I've looked through the GUI interface of the VisualSVN server console, and there doesn't appear to be anything about backing up, exporting, or moving the repositories.
0
Commented:
Indeed. You can run it from cmd.exe:
c:\Program Files\Subversion\bin\svnadmin dump c:\repositories\Contoso > c:\repo.dump


Also, make sure nobody is accessing the svn sever when you dump as well as shutting it down right after your dump - otherwise your new Linux server will not be consistent.

http://www.visualsvn.com/support/topic/00010/
0

Experts Exchange Solution brought to you by