Search code examples
svnvisualsvn-servervisualsvn

SVNAdmin Load is not working


So I created dump files for my old repositories. Now moving these to new server.

When I use VisualSVN admin interface to import using

Import Existing Repository --> Load Repository from a dump file

Then it is fine. I am able to access new repository on new server.

But if I use command line

svnadmin create test
svnadmin load test < test.dump

Then I am not able to access this test repository from Tortoise SVN ( it won't show up)


Solution

  • Normally you should usually use the Import Existing Repository wizard in the VisualSVN Server Manager console to import your Subversion repositories. enter image description here

    However, when you want to import the repositories from command line or in batch, you can use VisualSVN Server PowerShell. Use the Import-SvnRepository PowerShell cmdlet to import the dump. You can also use the New-SvnRepository PowerShell cmdlet to create new repositories.

    enter image description here

    Standard svnadmin create does not add authorization files /conf/VisualSVN-WinAuthz.ini or /conf/VisualSVN-SvnAuthz.ini to the repository. These files must be in place for the authorization to work.