Loading hidpl-root-backup.sh +1 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,7 @@ if [ $RSYNC_EXIT_CODE -ne 0 ]; then echo 'Problem!' echo "Log file in $LOG_PATH" | mail -s "Backup problem with $SERVER_FQDN" $MAIL_TO echo "Log file from $LOG_PATH attached!" | mail -a $LOG_PATH -s "Backup problem with $SERVER_FQDN" $MAIL_TO exit 1 fi # Take a snapshot of the backed-up directory Loading Loading
hidpl-root-backup.sh +1 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,7 @@ if [ $RSYNC_EXIT_CODE -ne 0 ]; then echo 'Problem!' echo "Log file in $LOG_PATH" | mail -s "Backup problem with $SERVER_FQDN" $MAIL_TO echo "Log file from $LOG_PATH attached!" | mail -a $LOG_PATH -s "Backup problem with $SERVER_FQDN" $MAIL_TO exit 1 fi # Take a snapshot of the backed-up directory Loading