Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently had to send in my computer for repairs, and my hard drive ended up getting replaced. Luckily I had a backup of the files, but no system image.

I'd like to get my SVN repositories back, but I don't have a dump out of SVN, just the repository directories on the hard drive.

Is there a way to rebuild my SVN repositories from just the files on the hard drive without having a dump file? How do I do that?

share|improve this question
Have you read the book? – Turbo J May 14 '11 at 16:36
I have, it mentions using hot-backup or svnadmin dump to backup your repositories. It's already too late for me, I just have the filesystem backup, with no hot-backup or dump file. – jjeaton May 16 '11 at 13:52
up vote 2 down vote accepted

Do you have a backup or not?

If you have a backup, just put the backuped files for the SVN repositories to the place where they belong. To check them first, just run

svnadmin dump /path/to/backuped/repos >> /dev/null
share|improve this answer
So I created a new blank repository on the new system. Then ran your command svnadmin dump /path/to/backuped/repos >> dump_file then ran an svnadmin load /path/to/backuped/repos < dump_file and it appears that the repositories are back in there. Thanks. – jjeaton May 18 '11 at 4:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.