How To Create and Restore an SVN Backup Dump File (.dmp)
erics, Posted February 1st, 2018 at 2:38:48pm
Backup Compressed:
svnadmin dump /volumes/data/svn/yourRepo | gzip -9 > /volumes/data/backup/yourRepo.dmp.gz
Backup Uncompressed:
svnadmin dump /volumes/data/svn/yourRepo > /volumes/data/backup/yourRepo.dmp
Restore the Repo
Create a new SVN repository:
svnadmin create /volumes/data/svn/newRepo
Restore the dump file to the new repository:
svnadmin load /volumes/data/svn/newRepo < /volumes/data/backup/yourRepo.dmp
Just for good measure, here is how to checkout from a local repo:
svn co file:///volumes/data/svn/newRepo/the/path/to/what/you/want
Leave Your Comment
All fields marked with "*" are required.