本文介绍了svnrdump dump和& amp;之间的区别svnadmin转储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要svn信息库的转储.我找到了两种解决方案

I need a dump of a svn repository. I found two solutions

还有

svnrdump dumpsvnadmin dump相同吗?

如果没有,这两个命令之间有什么区别?

If not, what are the differences between these two commands ?

推荐答案

svnrdump生成与svnadmin dump相同的转储.根据红皮书:

svnrdump generates the same dump as svnadmin dump. According to the red book:

两者之间的唯一区别是svnadmin dump在存储库的文件路径上运行(即应在同一服务器上运行),而svnrdump接受远程存储库URL.

The only difference between the two is that svnadmin dump operates on a file path to the repository (i.e. it should be run on the same server) whereas svnrdump accepts a remote repository URL.

svnadmin dump示例命令:

svnadmin dump C:\repositories\repo1 > repo1.svndump

svnrdump示例命令:

svnrdump dump http://example.com/svn/repo1 > repo1.svndump

这篇关于svnrdump dump和& amp;之间的区别svnadmin转储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-07 18:01