SVNAdmin Load is not working
Asked Answered
S

1

2

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)

Selfdenial answered 21/3, 2018 at 16:37 Comment(0)
K
1

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.

Kappel answered 21/3, 2018 at 18:45 Comment(1)
Thanks! This is what I neededSelfdenial

© 2022 - 2024 — McMap. All rights reserved.