Reputation: 420
Per the SVN documentation (http://svnbook.red-bean.com/en/1.7/svn.ref.svnadmin.c.hotcopy.html), you can only run svnadmin hotcopy
with local repositories.
Is there any way to run this command using a remote SVN repository, using the URL?
I essentially want to make a complete copy of my huge SVN repository (over 6000 versions), including all history, tags, versions etc. and store it on my local machine, completely independent of the remote repository.
Upvotes: 0
Views: 1777
Reputation: 17
I tried lots of different methods including svnadmin hotcopy
but the best in the end without a doubt was simply svn dump such as this taken from the svn book. svnadmin dump /var/svn/repos > full.dump
link here once you have done that pack it up and send it to where you want the repository. I tried pretty much everything else and this was the simplest and the best for me. I seem to remember that it automatically set the UUID which is the unique identification number of your Subversion project. If you want to use it as the original then it needs to be the same UUID, if it is different use the setuuid command such as svnadmin setuuid /var/svn/repos-new 2109a8dd-854f-0410-ad31-d604008985ab
http://svnbook.red-bean.com/en/1.6/svn.ref.svnadmin.c.setuuid.html
Upvotes: -1