We have a server running Fedora 7 that we use as our SVN repository server. New IT policies where I work are mandating that we to a Windows box if we want to allow our server to be on the network.
What are the challenges that must be overcome to make this move? Some of these items may be used to get a policy exception in place.
A little check-list:
--relocate
option of theswitch
subcommand on the client for a seamless relocation (no need for a fresh checkout)svn dump/load
cycle. Think hard if you want to put your database on a network share : only FSFS will work (it's not really recommended though).htpasswd
file over.svn dump/load
cycle.Not sure about all the details, but keep in mind any hooks/scripts you have running on your repository will need to be rewritten as batch files.
Dump/load would be the proper procedure and keep you safe from any problems. See the svn book
Running the VisualSVN Server on Windows has been very smooth. VisualSVN Server can host any number of independent Subversion repositories.
You can move repositories by any Subversion recommended method, it's a standard repository on both sides. Note the repository version, you may need to upgrade. Access permissions are windows oriented, you may have to change the way clients authenticate against the server. Good luck with hook scripts, if any. I hope they are written in a portable scripting language, e.g.
Perl
orPython
.If you are attempting the move in reverse -- using svnadmin in Windows to make an dumpfile of a repository -- be sure to use the cmd.exe prompt and NOT the powershell.
I did this and found out (the hard way) that redirecting output from the powershell results in a Unicode file that svnadmin cannot read when you go to load the same file into the destination repository. It also takes a lot longer to run (and, obviously, the file is twice as big).