blob: 63e39b04fb39c53032f3fc1064ddb60b9cd5fadd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/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
for FILE in /var/svn/dump/*.bz2
do
[ -f $FILE ] && /usr/bin/gpg --batch --no-tty --default-recipient post@gunnarwrobel.de --encrypt-files $FILE && rm $FILE
done
chown -R apache:apache /var/svn/dump
chmod 750 /var/svn/dump
chmod 660 /var/svn/dump/*
|