SVNAdmin 负载不工作 [英] SVNAdmin Load is not working

查看:38
本文介绍了SVNAdmin 负载不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我为我的旧存储库创建了转储文件.现在将这些移动到新服务器.

当我使用VisualSVN管理界面导入使用

导入现有存储库 --> 从转储文件加载存储库

然后就好了.我可以访问新服务器上的新存储库.

但是如果我使用命令行

svnadmin 创建测试svnadmin 负载测试 <测试转储

然后我无法从 Tortoise SVN 访问此测试存储库(它不会显示)

解决方案

通常,您通常应该使用 VisualSVN 服务器管理器 控制台中的导入现有存储库 向导来导入您的颠覆存储库.

但是,当您想从命令行或批量导入存储库时,您可以使用

标准 svnadmin create 不会将授权文件/conf/VisualSVN-WinAuthz.ini 或/conf/VisualSVN-SvnAuthz.ini 添加到存储库中.这些文件必须到位,授权才能工作.

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)

解决方案

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

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.

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.

这篇关于SVNAdmin 负载不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆