-->

SVNAdmin Load is not working

2019-07-27 14:09发布

问题:

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)

回答1:

Use the Import-SvnRepository PowerShell cmdlet to import the dump. You can also use the New-SvnRepository PowerShell cmdlet to create new repositories.

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.