SVN Repository Migration

Our current employer decided to have the code base as VisualSVN. So we stated a demo server and then after successful trail started a staging server for our project. For the entire March month it worked well, and we decided to have another VisualSVN server as production.  During the last week we have decided to migrate our staging SVN source to production box, but now the problem is about history or revision of the full one month.

After binging and googling, I’ve found many alternatives. Most of all, I’ve realized one simple solution and migrated the entire code base from staging to production as simple as cake biting.

Problem :

Source SVN is at 10.4.5.68 and the repositories are installed at D:\

Target SVN is at 119.18.112.63 and the repositories are installed at E:\

Solution:

Step 1:

Copy all the project folders from 5.68\d$\repository\<<projectRepositories>> to 112.63\e$\repository\

Step 2:

Copy the auth files from 5.68 to 112.63, this would copy all the users along with their project groups

Step 3:

Go to the client side and just relocate your SVN url by right clicking on the folder and point to “SVN=>Relocate”

That’s is done.. did you try?

No comments: