Dump/Restore for Subversion Repository

Tue 31 July 2007

Data repository dump:

Dump first entry to current:

    svnadmin dump /home/svn/repos --revision 0:HEAD > repos.dump 

Dump revision 150 to current:

    svnadmin dump /home/svn/repos --revision 150:HEAD --incremental > repos-150.dump 

Data repository load:

First load:

    svnadmin load /home/svn/repos < repos.dump 

Incremental load:

    svnadmin load /home/svn/repos < repos-150.dump