You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ $RETVAL -eq 0 ] && logger Git repositories have been backed up successfully to $BACKUP_PATH
if [ $RETVAL -ne 0 ]; then
# log the error that occuerd do /var/log/daemon.log
# and send an email to the administrator
/usr/bin/logger -p daemon.err Unable to generate backups from git repository.
/bin/echo "An error has occured during backup of the git repositories.Please check the log at ${LOG_PATH} at host ${HOSTNAME}. This is a generated message." | /usr/bin/mail -s "BACKUP Error" "eSciDocAdmin@fiz-karlsruhe.de" -- -r "git-backup-cronjob@whvmescidoc4.fiz-kalrsruhe.de"