Sync changes in current working tree
[clinton/scripts.git] / hcoop-backup-wrapper
... / ...
CommitLineData
1#!/bin/bash
2
3exec >& /var/log/backup-to-rsync-wrapper-log
4touch /xyz/zys # generate an error message
5
6#exit 1 # temporary until disk space issues are solved
7
8fs checkvol
9LOG=/var/log/backup-to-rsync-log
10rm -f $LOG
11echo "groups before k5start" > $LOG
12groups >> $LOG
13exec k5start -f /etc/keytabs/hcoop hcoop@HCOOP.NET -t \
14 $(dirname $0)/hcoop-backup >& $LOG