问题
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?
回答1:
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.
回答2:
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.
回答3:
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
回答4:
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 and svnadmin load sequence. You can also use svnrdump tool (exists in SVN 1.7 and later) to perform the dump and load process remotely. See svnrdump dump and svnrdump load.
来源:https://stackoverflow.com/questions/12774/attaching-visualsvn-server-to-an-existing-repository