VisualSVN Server:使用 svnadmin 工具进行备份
我已经在 Windows Server 2008 上安装了 VisualSVN Server。我尝试使用 svnadmin 工具创建热复制备份。我好像没有安装这个工具:
C:\>svnadmin hotcopy C:\Repositories\Develop C:\temp\svnbackup
'svnadmin' is not recognized as an internal or external command,
operable program or batch file.
Does VisualSVN Server include svnadmin tool?我怎样才能得到这个工具?
I have installed VisualSVN Server on Windows Server 2008. I was trying to create a hotcopy backup using svnadmin tool. It seems that I don't have this tool installed:
C:\>svnadmin hotcopy C:\Repositories\Develop C:\temp\svnbackup
'svnadmin' is not recognized as an internal or external command,
operable program or batch file.
Does VisualSVN Server include svnadmin tool? How can I get this tool?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我实际上找到了解决方案:
我在这个文件夹中有这些工具:C:\Program Files (x86)\VisualSVN Server\bin。我只需要将其添加到路径环境值中即可。
I actually found the solution:
I have these tools in this folder: C:\Program Files (x86)\VisualSVN Server\bin. I just had to add this to path enviromental values.
其实你不需要将路径添加到环境变量中。您收到该错误的原因是因为您位于 C:\ 但 SVN 管理员位于其他位置。只需遍历到它所在的目录并执行相同的操作即可。
Actually you don't need to add the path to the environment variables. The reason why you got that error is because you are in C:\ but the SVN admin is in other location. Just traverse to the directory where it is located and do the same thing and it works.