Home > Simultaneous SVN Dump and Load with Netcat

Simultaneous SVN Dump and Load with Netcat

June 19th, 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.

,

  1. June 19th, 2006 at 01:17 | #1

    cool :-) tnx for sharing this one

  1. No trackbacks yet.
Comments are closed.