Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to extract an SVN dump?

Tags:

svn

svndump

I received an SVN dump file with a lot of pages (all HTML pages, and all server-side code as well) in the file. I'd to separate them out, but have no clue how to do this.

I'm on windows and I don't get SVN at all.

like image 954
Brooke Avatar asked Jul 10 '11 18:07

Brooke


1 Answers

The answer by Adam Butler is nearly perfect, but I got a few problems with it, so here is my working solution :

In a DOS windows (Use ConEmu for a better one)

First cd to your svn folder tools
mkdir d:\dumpRepo
svnadmin create d:\dumpRepo
type [PATH TO DUMP].dump | svnadmin load d:\dumpRepo
svn export file:///d:/dumpRepo d:\Exportedfiles

It's really important that the file URI for svn export contains only regular /

like image 53
Guillaume Avatar answered Nov 03 '22 03:11

Guillaume