Moving a Subversion repository to another server
From Debian Wiki
Contents |
Introduction
This tutorial will show you how to export, migrate and move an existing subversion repository to a different server. It's really simple if you know how.
Requirements
- Subversion installed on the current and new servers.
- Root access to both your current and new servers.
Dump the repository on the current server
svnadmin dump /path/to/repo > reponame.dump tar zcf reponame.tgz reponame.dump scp reponame.tgz root@newserver:/path/to/new
Setup the repository on the new server
cd /path/to/new svnadmin create reponame tar zxf reponame.tgz svnadmin load reponame < reponame.dump
That's it. You can start using your newly migrated subversion repository right away. |