You need domtool-admin rights to destroy a user
[clinton/scripts.git] / hcoop-backup-wrapper
index fd51cfa..42f7205 100755 (executable)
@@ -1,12 +1,14 @@
 #!/bin/bash
 
-exec >& /var/log/backup-to-s3-wrapper-log
+exec >& /var/log/backup-to-rsync-wrapper-log
 touch /xyz/zys   # generate an error message
 
+#exit 1 # temporary until disk space issues are solved
+
 fs checkvol
-LOG=/var/log/backup-to-s3-log
+LOG=/var/log/backup-to-rsync-log
 rm -f $LOG
 echo "groups before k5start" > $LOG
 groups >> $LOG
 exec k5start -f /etc/keytabs/hcoop hcoop@HCOOP.NET -t \
-    $(dirname $0)/hcoop-backup
+    $(dirname $0)/hcoop-backup >& $LOG