<p>I'm curious to hear the experiences of those who are currently running their SVN server on Windows. </p>

<p>Jeff Atwood has a post on <a href="https://blog.codinghorror.com/setting-up-subversion-on-windows/" rel="nofollow noreferrer">how to setup SVN as a Windows service</a>. It's a great first step, but it doesn't touch on other topics, such as:</p>

<ul>
<li>What to use for a web-based repository browser? <a href="http://websvn.tigris.org/" rel="nofollow noreferrer">WebSVN</a> <em>can</em> work on Windows, but it ain't pretty.</li>
<li>How to manage the passwd file?</li>
<li>Is it possible to integrate with Active Directory without running Apache?</li>
<li>Strategies for backing up the repository.</li>
<li>Useful global ignore patterns for Visual Studio development (suggestions <a href="http://blog.jasonhoekstra.com/2008/07/useful-net-subversion-global-ignore.html" rel="nofollow noreferrer">here</a>, <a href="http://www.thushanfernando.com/?p=12" rel="nofollow noreferrer">here</a>, and <a href="http://blog.donnfelker.com/2007/08/10/SubVersionTortoiseSVNGlobalIgnorePattern.aspx" rel="nofollow noreferrer">here</a> for example).</li>
</ul>

<p>Our company switched from SourceGear Vault to Subversion about one month ago. We've got the basics down pat, but would love to discover people's tips and tricks for running SVN in a MSFT world.</p>

[{'answer_id': 24530, 'author': 'BigMadKev', 'author_id': 2196, 'author_profile': 'https://Stackoverflow.com/users/2196', 'pm_score': 1, 'selected': False, 'text': '<p>I have a fairly indepth tutorials on my blog <a href="http://tv.inner-rhythm.co.uk/" rel="nofollow noreferrer">http://tv.inner-rhythm.co.uk/</a> on how to set SVN up with Apache and Trac which we use at my company which works for us.</p>\n'}, {'answer_id': 24531, 'author': 'John Sheehan', 'author_id': 1786, 'author_profile': 'https://Stackoverflow.com/users/1786', 'pm_score': 5, 'selected': True, 'text': '<p>Use <a href="http://www.visualsvn.com/" rel="nofollow noreferrer">VisualSVN Server</a>. It integrates with Windows authentication and it handles all the apache setup. It\'s as painless as SVN can be on Windows.</p>\n'}, {'answer_id': 24533, 'author': 'Mark Biek', 'author_id': 305, 'author_profile': 'https://Stackoverflow.com/users/305', 'pm_score': 2, 'selected': False, 'text': '<p>VisualSVN is the way to go.  The built-in Active Directory support is very easy to use.</p>\n'}, {'answer_id': 24536, 'author': 'brendan', 'author_id': 225, 'author_profile': 'https://Stackoverflow.com/users/225', 'pm_score': 1, 'selected': False, 'text': "<p>I use a combo of VisualSVN and Tortoise.  It doesn't integrate well with visual studio but you can use other plugins/apps for that.</p>\n"}, {'answer_id': 24564, 'author': 'Portman', 'author_id': 1690, 'author_profile': 'https://Stackoverflow.com/users/1690', 'pm_score': 2, 'selected': False, 'text': "<p>I have found that VisualSVN is about 50% slower than running SVN as a native service. I always assumed </p>\n\n<p>that was because of accessing via http:// with Apache, which seems like it would have to be slower </p>\n\n<p>than accessing via svn://, which is native TCP/IP. </p>\n\n<h1>The Experiment</h1>\n\n<p>In the last 30 minutes, here's what I did:</p>\n\n<ul>\n<li>Installed VisualSVN on port 8080, side-by-side with my existing SVN install</li>\n<li>Imported three existing repos into VisualSVN</li>\n<li>Kicked everyone else off the server</li>\n<li>Did side-by-side comparisons of a full svn checkout</li>\n</ul>\n\n<h1>Results</h1>\n\n<pre><code>Repo 1: 652 files, 273 directories, 60.1MB\n  23 seconds for VisualSVN over http:// \n  16 seconds for SVN over svn://\n\nRepo 2: 4623 files, 964 directories, 127.9MB\n  2 minutes, 18 seconds for VisualSVN over http://\n  1 minute, 30 seconds for SVN over svn://\n</code></pre>\n\n<p>This is on identical hardware, with the exact same repository. I like how easy VisualSVN is, but AD integration and GUI aren't worth a 50% performance hit.</p>\n\n<p>Anyone else seen this difference? Am I doing something wrong just following along with the default installation options? </p>\n"}, {'answer_id': 24590, 'author': 'mmattax', 'author_id': 1638, 'author_profile': 'https://Stackoverflow.com/users/1638', 'pm_score': 1, 'selected': False, 'text': '<p>Trac is certainly the best web based project management software I use, it integrates with subversion so you can see timelines of commits and diffs of each versions, it allows tickets and bug reports, and has a built in wiki.</p>\n\n<p><a href="http://trac.edgewall.org/wiki/TracOnWindows" rel="nofollow noreferrer">http://trac.edgewall.org/wiki/TracOnWindows</a></p>\n\n<p>A little knowledge of python and it is easy to get up and running (if your on windows though, use the tracd server: <a href="http://trac.edgewall.org/wiki/TracStandalone" rel="nofollow noreferrer">http://trac.edgewall.org/wiki/TracStandalone</a> (this link will show you how to install it as a windows service).</p>\n'}, {'answer_id': 27354, 'author': 'DevelopingChris', 'author_id': 1220, 'author_profile': 'https://Stackoverflow.com/users/1220', 'pm_score': 0, 'selected': False, 'text': '<p>I think you are seeing the difference betweeen the svn protocol and hosting the svn protocol on another.<br>\nSimilar performance decreases when using svn+ssh compared to svn.  </p>\n\n<p>The ease of setup, has made it a no brainer for my team, we just threw it on a vm and ran.</p>\n'}, {'answer_id': 34899, 'author': 'John Meagher', 'author_id': 3535, 'author_profile': 'https://Stackoverflow.com/users/3535', 'pm_score': 1, 'selected': False, 'text': '<p>I recommend <a href="http://tortoisesvn.tigris.org/" rel="nofollow noreferrer">TortoiseSVN</a>.  It adds SVN capabilities into Windows Explorer.  In addition TortoiseSVN check to see if the IDE you are using has support for SVN.  </p>\n'}, {'answer_id': 34934, 'author': 'Jeremy', 'author_id': 3657, 'author_profile': 'https://Stackoverflow.com/users/3657', 'pm_score': 0, 'selected': False, 'text': '<p>Running SVN under apache really isn\'t that hard.  And you can use <a href="http://www.deadbeef.com/index.php/mod_auth_sspi" rel="nofollow noreferrer">mod_auth_sspi</a> to integrate with active directory.</p>\n'}, {'answer_id': 84905, 'author': 'Espo', 'author_id': 2257, 'author_profile': 'https://Stackoverflow.com/users/2257', 'pm_score': 1, 'selected': False, 'text': '<p>Rich Strahl just posted a blog entry on Running VisualSVN Server for Subversion Source Control. Worth a read:</p>\n\n<p><a href="http://west-wind.com/weblog/posts/480534.aspx" rel="nofollow noreferrer">http://west-wind.com/weblog/posts/480534.aspx</a></p>\n'}, {'answer_id': 84969, 'author': 'Ant', 'author_id': 2289, 'author_profile': 'https://Stackoverflow.com/users/2289', 'pm_score': 1, 'selected': False, 'text': '<p>For backing up, I wrote a combination of a batch file and a VBScript that runs once a week as a scheduled task.  It:</p>\n\n<ul>\n<li>Scans through a particular folder on the file system recursively looking for SVN repositories (we have a multitude of small repositories, as we found that one uber-repository quickly became difficult to maintain and intolerably slow when used with TortoiseSVN);</li>\n<li>Uses svnadmin hotcopy on each repository found to create a backup;</li>\n<li>7zips all of the backups into a single archive;</li>\n<li>Mounts a share on a SAN and copies the archive over;</li>\n<li>Deletes all of the temp files;</li>\n<li>Emails a "success" notification.</li>\n</ul>\n'}, {'answer_id': 256609, 'author': 'Ben Collins', 'author_id': 3279, 'author_profile': 'https://Stackoverflow.com/users/3279', 'pm_score': 1, 'selected': False, 'text': '<p>VisualSVN Server + Trac + TortoiseSVN + Ankhsvn.</p>\n\n<p>Done.  Smooth as silk.  What Visual SourceSafe should have been.</p>\n'}]
['https://Stackoverflow.com/questions/24528', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1690/']