5

I read some question/answers here about how to do it using svnadmin/dump etc. Actually I did not understand properly what I'm supposed to do.

How do I migrate an SVN repository to another SVN repository?

I think I have to do some sort of dump from the Google code repository using svnadmin, but where do I get this svnadmin?

I use TortoiseSVN 1.6.3 on WXP and there is no svnadmin.exe command in all my C folder, where am I supposed to download these applications?

Thanks!

Community
  • 1
  • 1
Marco Demaio
  • 33,578
  • 33
  • 128
  • 159
  • http://stackoverflow.com/questions/2432469/tortoisesvn-svnadmin –  Apr 18 '10 at 11:09
  • @Neil: I read that question/answer too, but even the proposed links refer to pages form which is not clear what you have to download. – Marco Demaio Apr 18 '10 at 13:38

5 Answers5

4

You can use svnsync to make a 1:1 copy of a remote svn repository, including history and properties. You do not even need write access to the repository that is being copied.

Tomas Andrle
  • 13,132
  • 15
  • 75
  • 92
  • I don't know. You can download Windows binaries of Subversion from http://subversion.apache.org/packages.html#windows (the CollabNet mirror requires registration but works fine for me). – Tomas Andrle Jun 29 '10 at 22:47
  • @eglasius: no, not yet, I wanted to move out form Google code, but I have no time to look into this now. – Marco Demaio May 18 '11 at 14:37
3

The reason you do not have svnadmin is that it is a server-side program, not a client-side program; it is used on the same machine on which the Subversion repository is hosted. You will not be able to run svnadmin without SSH'ing into the host computer. Consequently, I don't think you can copy the project repository from Google Code, since you will not be able to run "svnadmin dump" from the Google Code server computers. The best you will be able to do, AFAIK, is to use svn export and svn import, which discard history.

Michael Aaron Safyan
  • 93,612
  • 16
  • 138
  • 200
2

from subversion 1.7 you can use svnrdump here the link to the doc:

i used: svnrdump dump https://mynameproject.googlecode.com/svn > source-repo.dump

and it works

  • 1
    It worked like a charm. To whom it may concern: `svnrdump.exe` is included in TortoiseSVN 1.9 (during installation, just check the box to install locally all svn commands). Once you get a `.dump` a file it's easy to import it into another SVN repository like Assembla by simply using their Import/Export online tool. – Marco Demaio Aug 25 '15 at 12:31
0

Here's a step by step explanation how to do it with svnsync.

http://blog.projectnibble.org/2011/03/25/using-svnsync-to-migrate-a-remote-svn-repository/

Benny Bottema
  • 11,111
  • 10
  • 71
  • 96
0

You can actually download an svn repo history from Google code via svnsync. See this link from Google http://code.google.com/p/support/wiki/SubversionFAQ#How_do_I_download_my_Subversion_history?

icasimpan
  • 1,253
  • 3
  • 16
  • 28