This entry was posted on Sunday, June 15th, 2008 at 9:13 am and is filed under development, howto. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Jun 15, 2008
HOWTO: Migrate your svn repository between servers
Author: gaweee | Filed under: development, howto
Step 1 – Backup your svn data:
svnadmin dump /path/to/somerepository < somerespositry.svn.backup
The resulting file can be pretty large. Its basically a file of all your snapshots. Needless to say, if you’re at revision 300, be prepared to wait.
Step 2 – Create the new respository:
login to the new server to create the repository
login to the new server to create the repository
svnadmin create /path/to/newrespository
Double check the created directory structure where possible, many a times my svn folders arent created with the correct group write permissions. So remote commits encounters transaction errors
Step 3 – Restore the repository on the new server
svnadmin load /path/to/newrepository < somerepository.svn.backup
And you’re done! really simple wasnt it?
2 Responses to “HOWTO: Migrate your svn repository between servers”
Leave a Reply
Most Popular
- HOWTO: PHP and jQuery upload progress bar (56)
- JQuery Progress Bar 1.1 (53)
- Howto: Repackageable custom extension development in Magento - Part 2 - Admin Controller (25)
- JQuery Progress Bar 2.0 (21)
- Howto: Repackageable custom extension development in Magento - Part 8 - CRUD - Update (18)
- HOWTO: struts 2 i18n (16)
- Howto: Repackageable custom extension development in Magento (12)
- JQuery Progress Bar 1.2 (11)
- Howto: Repackageable custom extension development in Magento - Part 9 - Frontend - List (10)
- Howto: Repackageable custom extension development in Magento - Part 3 - Database (9)
Recent Comments
- Karen: Great work around-thank you!!
- Sheldon: awesome possum!
- cmstop里所使用的有用的jquery插件 » Terry's Blog: [...] http://t.wits.sg/jquery-progress-bar/ 这篇日志的 t.cn [...]
- Lakshyami: Hi, Thank you very much for
- New site feature: User Poll « TechnoStripe: [...] progress bar used to
- seo agentur: @Krish Why do you need to
- 2kai: Hi Aromal, you need to flush
- Rob Rasner Magic Castle: I love what you guys
- รับทำเว็บไซต์: Thx for this. Nice and
- Lexus: ESxtYC I'm not easily impressed.
Latest Entries
- SD in the Community: Product Management Panel Recap
- Mac OS X and Ricoh Aficio C2051 - Making Printing "Just Work"
- How to impress your recruiter
- Thoughts on Attracting the attention of the Best Hires
- The Greg Syndrome
- The Parental Manager
- Attack of the Facebook Harvesters
- jQuery Progress Bar Configuration
- Extracting email addresses from inbox
- 10 Good (Free and Legal) Source for Photos and Images
October 16th, 2008 at 7:24 pm
Please be aware that it is rather risky running a dump while the users could be updating.
You *may* need your configuration files,like authz and svnperms.conf, or you may have a database and no users to be able to open the directories or the files.
It *might* be useful to also collect a copy of /etc/password/, /etc/shadow, plus your httpd.conf file – if only for reference.
Your mileage WILL vary….
August 23rd, 2008 at 6:08 pm
Thanks dude, nice to check what others have done before I migrate my repo.