All the recent VisualSVN Server posts made me want to check it out. I have SVN running right now through Apache, but I'd like to try out VisualSVN Server, mostly for the Active Directory integration. Their docs don't describe whether you can easily migrate an existing repository.
Anyone done this before?
Visual SVN Server will use your existing SVN repositories with no problems. I have successfully migrated repositories from SVN + Apache to Visual SVN Server on multiple occasions.
There is an option on the VisualSVN Server Manager console to import an existing repository. You just give it the existing repository location and a name for the imported repository. Pretty simple.
An SVN server doesn't really 'attach' to a repository, it just needs to be able to see its files. The repository itself doesn't know or care if it's being accessed via svnserve, Apache mod_svn or direct file:// URLs
There is a VisualSVN Server Knowledge Base article about the case:
How can I import my existing repository into newly installed VisualSVN Server?
It describes different approaches:
- Migrating Subversion repository via VisualSVN Server Manager console,
- Migrating Subversion repository via
svnadmin dump
andsvnadmin load
sequence. You can also usesvnrdump
tool (exists in SVN 1.7 and later) to perform the dump and load process remotely. Seesvnrdump dump
andsvnrdump load
.
来源:https://stackoverflow.com/questions/12774/attaching-visualsvn-server-to-an-existing-repository