April 09, 2007 at 05:47 AM

So your subversion server is full...

No one would actually be foolish enough to try to run a Rails app in an anemic shared hosting account, would they? (Note: I was). Even if they did, any sane person would certainly move to a VPS solution before things got out of hand, right? Well… I did move to an excellent VPS host, but not before I was so low on disk space, that I couldn't even dump my subversion repository to a file. If you’re as dense as me, or you just want to know how to move your repos as quickly as possible, read on.

Once you have your fancy new server up & running, you have to prep your svn repository:

svnadmin create /path/to/new/repos

Once that’s done, you just need to send the data over from your old repository. Run this command on your old server:

svnadmin dump /path/to/old/repos | ssh user@newserver "svnadmin load /path/to/new/repos"

Hey, you’re done! Isn’t the understated elegance of Unix grand?

Tags

subversion unix

Comments

There are 0 comments on this post.  Post yours →

Post a comment