如何将存储库从 Unfuddle 复制到本地 SVN 服务器?

发布于 2024-07-07 04:56:00 字数 186 浏览 8 评论 0原文

我目前在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

等风也等你 2024-07-14 04:56:00

尝试 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 a svn-mirror, which does the same thing.

Git's git-svn is also an option.

I already used both svnsync and git-svn.

慵挽 2024-07-14 04:56:00

我只会创建一个运行 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.

负佳期 2024-07-14 04:56:00

要创建您的存储库的副本(即:所有修订都完好无损),我认为您可能必须执行完整的备份/下载/恢复周期。 有多种方法可以对存储库进行增量复制(通过 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 or svnadmin hotcopy), but I doubt that Unfuddle will give you access to these.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文