使用VisualSVN作为远程备份
我有一个Windows服务器,我可以在这台机器上安装VisualSVN。
我想做的是,使用某种批处理脚本(MS DOS .BAT)通过 https 将文件远程备份到该服务器(我可以安排该脚本每晚运行)。
<强><忽略>这将始终是单向复制,即存储库中的内容应始终被客户端计算机中的内容覆盖<; /ignore >
假设我在客户端计算机上有一个本地文件夹,如下所示:
c:\Data
问题:
- (a) 在客户端计算机上我需要安装任何什么样的SVN客户端软件?
- (b) 任何人都可以帮助使用批处理脚本来实现这一目标吗?
编辑:
我认为 SVN 会自动只传输已更新的文件?
I have a windows server, I can install VisualSVN on this machine.
What I would like to do is, use use some kind of batch script (MS DOS .BAT) to remotely backup files to this server over https (I can schedule this script to run nightly).
< ignore > This will always be a one way copy, i.e. what ever is in the respository should ALWAYS be over-written with what ever is in the client machine < / ignore >
Assume I have a local folder on the client machine as such:
c:\Data
Question:
- (a) On the client machine(s) would I need to install any kind of SVN client software?
- (b) Can anyone help with the batch script to achieve this?
Edit:
I assume SVN will automatically only transfer files that have been updated?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我了解,您混淆了两件事:
托马斯
As far as I understand it, you're confusing two things:
Thomas