All pastes #763768 Raw Edit

Someone

public text v1 · immutable
·published 2007-11-06 18:58 UTC
rendered paste body
	rsync -r -t -p -o -g -v --progress --delete --delete-excluded -l omaduck:/home/backup/ /media/NEXSTAR/Backup >>${LOG}
	ERROR="${?}"
	if [ "${ERROR}" != "0" ]; then
		if [ "${ERROR}" != "11" ]; then
			if [ "${ERROR}" != "23" ]; then
				notify-send -t ${INTERVAL}000 -i ${ICON} -c ${TYPE} "Rsync failed!" "Rsync of BACKUP on OMADUCK failed.
Please check the log file for more information!"
			fi
		fi
	fi