Can somebody please point me in the right direction for migrating a Subversion 1.4 repository to Subversion 1.6 on a different server ? I'd appreciate any help I can get, I'm not having much luck googling this.
First of all, I'm not 100% sure that you can move a dump file freely between Linux and Windows. You may have to convert line endings.
Next, you should try to first move the repository in 1.4 format, and then upgrade it in place. One way to do that, on the target machine:
svnadmin create --pre-1.5-compatible /path/to/repo
svnadmin load /path/to/repo <dumpfile
svnadmin upgrade /path/to/repo
See the SVN book for details of svnadmin.
We did it in a slight different way: we created a new repository and used svnsync to create a mirror of the repository. This one should be used as read-only until the time you want to switch. Then add hooks to the old repository to forbid commits (ideally display and error message telling your users to relocate to the new repository). svnsync a last time and activate the new repository. This was much faster than dumping and more efficient as we could catch up and sync the latest changes to the old repos.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With