如何将存储库从 Unfuddle 复制到本地 SVN 服务器?
我目前在 Unfuddle 上托管了几个 SVN 存储库,我希望拥有这些存储库的本地副本作为备份。 理想情况下,这将是一个“实时”备份,这样我的本地存储库将“ping”远程存储库,如果检测到任何更改,这些更改将应用到我的本地存储库。
以前有人尝试过这个吗? 如果是这样,使用什么工具来完成这项工作?
谢谢。
I currently have a couple of SVN repositories hosted at Unfuddle and I'd like to have a local copy of the repositories as a backup. Ideally, it would be a "live" backup so my local repository would "ping" the remote repository, and if any changes were detected, the changes would be applied to my local repository.
Has anyone tried this before? If so, what tools were used to accomplish the job?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
尝试
svnsync
,它会创建存储库的完整镜像。svnsyncsync
将仅下载新版本。 还有一个 svn-mirror ,它可以做同样的事情。Git 的
git-svn
也是一个选项。我已经使用了 svnsync 和 git-svn。
Try
svnsync
, which creates a full mirror of the repository.svnsync sync
will download only the new revisions. There's also asvn-mirror
, which does the same thing.Git's
git-svn
is also an option.I already used both
svnsync
andgit-svn
.我只会创建一个运行 PowerShell 脚本/BAT 文件的计划任务来为每个存储库执行 svn 更新。
I would just make a Scheduled Task that runs a PowerShell script/BAT file to execute a svn update for each of your repositories.
要创建您的存储库的副本(即:所有修订都完好无损),我认为您可能必须执行完整的备份/下载/恢复周期。 有多种方法可以对存储库进行增量复制(通过 svnadmin dump 或 svnadmin hotcopy ),但我怀疑 Unfuddle 是否能让您访问这些内容。
To create a copy of your repository (ie: with all revisions intact), I think that you might have to do a full backup/download/restore cycle. There are ways to do an incremental copy of a repository (via
svnadmin dump
orsvnadmin hotcopy
), but I doubt that Unfuddle will give you access to these.