从旧的 Subversion 备份中恢复文件 [英] Recover files from old Subversion backup

查看:39
本文介绍了从旧的 Subversion 备份中恢复文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个旧的 Subversion 服务器的 tar 备份,该服务器早已死了.该服务器管理的所有源代码都是遗留代码,永远不再需要......除了这个项目.

I have a tar backup from an old subversion server which has long since died. All the source code which had been managed by this server is legacy code which will never be needed again ... except this one project.

tar 文件中充满了诸如conf"、dav"、db"之类的小目录

The tar file is full of little directories like "conf", "dav", "db"...

有没有办法从这个备份中提取单个项目的最终源代码?

Is there any way of extracting the final source code of a single project from this backup?

推荐答案

您只需要从 tar 存档中提取整个存储库目录:

You only have to extract the repository directory as a whole from the tar archive:

tar xvf oldSubversionServer.tar path/to/subversion/repository

然后,您可以使用 file: 访问方法,使用 svn 客户端浏览存储库或创建项目的工作副本.

Then you can browse the repository or create a working copy of your project with a svn client, using the file: access method.

这篇关于从旧的 Subversion 备份中恢复文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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