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?
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.
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.
来源:https://stackoverflow.com/questions/3977606/visualsvn-server-taking-backups-using-svnadmin-tool