如何在svn中备份和还原所有源代码? [英] How to backup and restore all the source code in svn?

查看:209
本文介绍了如何在svn中备份和还原所有源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我正在使用Windows XP. 如果我只是将整个存储库文件夹复制到可视SVN中, 服务器关闭后,如何通过备份的存储库文件夹将其还原? 另一个更好的视觉svn备份和还原解决方案?

Right now I am using Windows XP. If i just copy the whole repository folder in visual SVN, once the server is down, how can i restore it via the backuped repository folder? another better solution to backup and restore in visual svn ?

顺便说一句,可视化源代码管理中有什么备份和还原方法吗?

by the way, any method for backup and restore in visual source control?

推荐答案

您可以直接复制整个目录,也可以复制整个目录.文件就是文件,没有什么神奇的.

You can just copy the entire directory in and out. Files is files, there's nothing magic about them.

如果您想做更复杂的事情,例如在还原之前以某种方式编辑存储库内容,则需要转储和加载.

If you want to do something more complicated, like edit the repository contents in some way before restoring, then you need dump and load.

这篇关于如何在svn中备份和还原所有源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆