无需任何备份即可恢复 svn
前几天我的 Windows 桌面机器死机了,但我有一个本地 svn 服务器正在运行。 是否可以仅从存储库文件结构恢复存储库?
我知道我应该备份它,但出于某种原因我没有备份,因为其中的代码大多只是玩耍和实验。如果存储库无法恢复,那么没问题,因为我在本地拥有所有工作副本,只是想知道是否可能......
My windows desktop machine died the other day and i had a local svn server running.
Is it possible to restore the repository just from the repo file structure alone?
I know i should have been backing it up, but i didnt for what ever reason, as the code in it was mostly just playing about and experiments. If the repo cant be restored then its no problem as i have all the working copies locally just like to know if it possible...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
建议使用 svnadmin dump 和 svnadmin load 进行存储库重定位,但恢复的驱动器中的文件系统副本也可以完成这项工作。
您将无法从工作副本中恢复任何历史记录。
It is suggested to use
svnadmin dump
andsvnadmin load
for repository relocation, but a filesystem copy from your restored drive should do the job aswell.You won't be able to restore any history from your working copies.