Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Taking backup of SVN repository with full history

I need to take a backup of SVN repository on local machine with full history so that I can compare revisions and see comments after deleting the repository from server. I am using TortoiseSVN as client and unfuddle as repository server. Actually my account will be expired from unfuddle withing few days and I need to get the repo on my local system for further process.

How should I move?

like image 460
Tausif Khan Avatar asked Nov 21 '11 07:11

Tausif Khan


People also ask

Where is SVN history stored?

They are stored in the svn:log property.

Does SVN move preserve history?

If you right-drag the folder and use "SVN move versioned item(s) here", then you keep the history. Even the history of the files within the folder.


1 Answers

You can use svnsync to download a full copy of the repository including history. It basically just copies every changeset to a local path of your choosing. I have used this for backup in the past, and it works like a charm.

There is a tutorial that explains how to do this on Windows: http://creekcodes.blogspot.com/2010/02/how-to-svnsync-on-windows.html

like image 130
Steve Rukuts Avatar answered Sep 25 '22 18:09

Steve Rukuts