VisualSVN服务器:使用svnadmin工具进行备份

VisualSVN服务器:使用svnadmin工具进行备份,svn,backup,windows-server-2008,visualsvn-server,Svn,Backup,Windows Server 2008,Visualsvn Server,我已在Windows Server 2008上安装了VisualSVN服务器。我试图使用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. VisualSVN服务器

我已在Windows Server 2008上安装了VisualSVN服务器。我试图使用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.

VisualSVN服务器是否包含svnadmin工具?如何获得此工具?

我实际上找到了解决方案:


我在这个文件夹中有这些工具:C:\Program Files(x86)\VisualSVN Server\bin。我只需要将它添加到路径环境值中。

实际上,您不需要将路径添加到环境变量中。出现该错误的原因是因为您位于C:\中,但SVN管理员位于其他位置。只要遍历到它所在的目录,做同样的事情,它就会工作

VisualSVN服务器将其路径添加到环境变量。请参阅%VISUALSVN_服务器%变量。