Mac OS X,  Mac OS X Server,  Unix

Backing Up and Restoring Subversion

To make a Subversion backup (replacing /repositorypath with your actual repository path and /repositoryname.dump with the path and name of the file you would like to export your repository into):

svnadmin dump /repositorypath > /repositoryname.dump

To then restore the Subversion backup (replacing /repositorypath with your actual repository path and /repositoryname.dump with the path and name of the file you would like to export your repository into):

svnadmin load /repositorypath < /repositoryname.dump