hcoop-backup: Move logging to backup-wrapper, use UTC date.
[hcoop/scripts.git] / hcoop-backup-wrapper
CommitLineData
4b645870 1#!/bin/bash
2
614d68fa 3exec >& /var/log/backup-to-rsync-wrapper-log
4b645870 4touch /xyz/zys # generate an error message
5
4b645870 6fs checkvol
614d68fa 7LOG=/var/log/backup-to-rsync-log
be9bd94d 8rm -f $LOG
9echo "groups before k5start" > $LOG
10groups >> $LOG
4b645870 11exec k5start -f /etc/keytabs/hcoop hcoop@HCOOP.NET -t \
0031afdd 12 $(dirname $0)/hcoop-backup >& $LOG