1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/bash BIN_DUMP="/usr/sbin/SVN-dump" for REPOSITORY in /var/svn/repos/* do $BIN_DUMP $REPOSITORY /var/svn/dump/`basename $REPOSITORY`.dump incremental done chown -R apache:apache /var/svn/dump chmod 750 /var/svn/dump chmod 660 /var/svn/dump/*