Created
November 21, 2017 21:51
-
-
Save zaufi/194ea4fbfc46525f2a2fe9d0d36f1986 to your computer and use it in GitHub Desktop.
Make a complete dump of a remote Subversion repository
This file contains hidden or 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
# NOTE Add list of repositories to dump to `svn-repo.list` file | |
# one name per line... | |
while read -r repo || [[ -n "${repo}" ]]; do | |
svnrdump dump "https://svn.example.com/${repo}" | bzip2 -zc > "${repo}.svn-dump.bz2" | |
done < svn-repo.list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment