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
Comments