Simultaneous SVN Dump and Load with Netcat

Posted by hardwarehank, Sun Jun 18 21:17:35 UTC 2006

I started by looking at the code from here. Then, I decided I should use netcat instead of scp. Here’s the result:


cd <repos dir>
svnadmin dump reponame | nc6 -x <NewServer> 7676

cd <repos dir>
svnadmin create reponame 
nc6 -x -l -p 7676 | svnadmin load reponame

Works like a charm - it’s awesome to have 2 windows open and watch the simultaneous dump and import - how hot.

Tags:

Comments

  • no avatar available for rodney rodney
    June 19, 2006 @ 05:44 PM
    cool :-) tnx for sharing this one

Have your say

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