Exporting SVN for safecopy

By

•

min read

My profile

Share this:
# Full dump of remote repo
svnrdump dump https://svn.example.com/repo > repo.dump

# Incremental (e.g., only revisions 1001–2000)
svnrdump dump https://svn.example.com/repo -r 1001:2000 --incremental > repo-1001-2000.dump   

Restore

svnadmin create /path/to/new_repo
svnadmin load /path/to/new_repo < repo.dump   
Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *