blob: e98b6e94696d437593ca18a008f2a990c5642966 (
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 full
done
for FILE in /var/svn/dump/*.bz2
do
[ -f $FILE ] && /usr/bin/gpg --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/*
|