HCoop
/
clinton
/
scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hcoop-kprop: update for fritz
[clinton/scripts.git]
/
hcoop-backup-wrapper
diff --git
a/hcoop-backup-wrapper
b/hcoop-backup-wrapper
index
fd51cfa
..
422eba8
100755
(executable)
--- a/
hcoop-backup-wrapper
+++ b/
hcoop-backup-wrapper
@@
-1,12
+1,14
@@
#!/bin/bash
#!/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
touch /xyz/zys # generate an error message
+exit 1 # temporary until disk space issues are solved
+
fs checkvol
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 \
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