hcoop-all-db-backup: update backup script
[hcoop/scripts.git] / hcoop-backup-wrapper
1 #!/bin/bash
2
3 exec >& /var/log/backup-to-rsync-wrapper-log
4 touch /xyz/zys # generate an error message
5
6 exit 1 # temporary because deleuze's disks will barf if we run this
7
8 fs checkvol
9 LOG=/var/log/backup-to-rsync-log
10 rm -f $LOG
11 echo "groups before k5start" > $LOG
12 groups >> $LOG
13 exec k5start -f /etc/keytabs/hcoop hcoop@HCOOP.NET -t \
14 $(dirname $0)/hcoop-backup >& $LOG