简体   繁体   English

VisualSVN Server:使用svnadmin工具进行备份

[英]VisualSVN Server: taking backups using svnadmin tool

I have installed VisualSVN Server on Windows Server 2008. I was trying to create a hotcopy backup using svnadmin tool. 我在Windows Server 2008上安装了VisualSVN Server。我试图使用svnadmin工具创建hotcopy备份。 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? VisualSVN Server是否包含svnadmin工具? How can I get this tool? 我怎样才能获得这个工具?

I actually found the solution: 我实际上找到了解决方案:

I have these tools in this folder: C:\\Program Files (x86)\\VisualSVN Server\\bin. 我在这个文件夹中有这些工具:C:\\ Program Files(x86)\\ VisualSVN Server \\ bin。 I just had to add this to path enviromental values. 我只需将其添加到路径环境值中。

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. 您收到该错误的原因是因为您在C:\\但SVN管理员位于其他位置。 Just traverse to the directory where it is located and do the same thing and it works. 只需遍历它所在的目录并执行相同的操作即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM