Skip to content

Instantly share code, notes, and snippets.

@zaufi
Created November 21, 2017 21:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zaufi/194ea4fbfc46525f2a2fe9d0d36f1986 to your computer and use it in GitHub Desktop.
Save zaufi/194ea4fbfc46525f2a2fe9d0d36f1986 to your computer and use it in GitHub Desktop.
Make a complete dump of a remote Subversion repository
# 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