Created
December 26, 2014 10:56
-
-
Save katopz/4ae740d3d8d6ebf8eebb to your computer and use it in GitHub Desktop.
Load and Dump SVN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#dump.sh | |
#how to use : bash dump.sh your-old-repos-folder-name-go-here | |
svnadmin dump $1 > $1.svn_dump | |
#undump.sh | |
#how to use : bash undump.sh your-old-repos-folder-name-go-here | |
export REPO=$1 | |
svnadmin create ${REPO} | |
chown -R apache.apache ${REPO}/ | |
svnadmin load --force-uuid /svn/${REPO} < ${REPO}.svn_dump |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment