How do I make a dump of a number of subversion repositories - with all repositories residing in one folder - on various operating systems (Linux shells, Windows 9x/Vista/XP/Server, etc.)?
I'll post an answer that works on Windows Server 2003 - but maybe there's a more elegant one for that, too.
(Additional background to the question here.)
This works on Windows 2003 server and is likely to work on other Windows OS's, too. It looks for any sub-directories in the specified "repos" directory and tries to run a
svnadmin dump
on each and every one of them. It creates dump files named(reponame).svn
dump_repos.bat
Bash:
(
test -d
makes sure to dump directories only)