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 (48)
- JQuery Progress Bar 1.1 (42)
- Howto: Repackageable custom extension development in Magento - Part 2 - Admin Controller (24)
- Howto: Repackageable custom extension development in Magento - Part 8 - CRUD - Update (16)
- HOWTO: struts 2 i18n (13)
- JQuery Progress Bar 2.0 (12)
- JQuery Progress Bar 1.2 (11)
- Howto: Repackageable custom extension development in Magento (9)
- Howto: Repackageable custom extension development in Magento - Part 3 - Database (9)
- Howto: Repackageable custom extension development in Magento - Part 9 - Frontend - List (8)
Recent Comments
- vid: @john: Unfortunately there has been
- john: With facebook's growth, more and
- vid: Thanks for the mention Josefina
- vid: Thanks Remo. The idea was
- Remo: Oh man not again. This
- learning methods: All the posts you talk
- best travel agency: Wow! I really enjoyed this
- Muzafar Ali: Hi, thanks for sharing a beautiful
- andy65007: After the progress bar
- Mark: Excellent tutorials. Most "how to
Latest Entries
- Attack of the Facebook Harvesters
- jQuery Progress Bar Configuration
- Extracting email addresses from inbox
- 10 Good (Free and Legal) Source for Photos and Images
- Howto: Backup Microsoft SQL Server Database, as in Dump it to a SQL Script (like MYSQL's sqldump)
- Managing client's expectation with wireframe software
- Howto: Repackageable custom extension development in Magento - Part 9 - Frontend - List
- JQuery Progress Bar 2.0
- HOWTO: Find icons for your new prototype system
- Google Maps Helper
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.