Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recover files from old Subversion backup

Tags:

svn

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.

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?

like image 932
Simon Elliott Avatar asked Jan 23 '23 18:01

Simon Elliott


1 Answers

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

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

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

like image 121
mouviciel Avatar answered Feb 06 '23 05:02

mouviciel