Eric Goodwin

Backing up your Subversion repository
06/03/05

I’ve been moving some of my repositories around lately. I had a few on textdrive and a couple on dreamhost and I wanted to switch them all over to my new server. To do this I would first dump my repository to a file. This is done with the following command.

svnadmin dump /path/to/reponame > /home/ftp/reponame.dump
After doing that, I ftp’d in and grabbed the dump file and upload it onto my other server. Once that was done I created a new repository and then loaded the dump file into it.
svnadmin create reponame
svnadmin load reponame < reponame.dump

0 comments

Comments

Have your say

A name is required. You may use HTML in your comments.




About

Eric Goodwin is a web developer living in Victoria BC, Canada. You can contact him at eric@ericgoodwin.com

Open Source

Projects

Elsewhere

Archives