3 export PATH=$(dirname $0):/bin:/usr/bin:/sbin
5 # source the default configuration
8 # source the system specific configuration
9 if [ -f /etc/lsbackups.conf ]
14 if [ -n "$(find $lastbackupfile -mtime +14)" -o -n "$(cat $statusfile | grep -i incomplete)" ]; then
15 echo "Running backups from cron..."
20 echo "Not running backups today. Backups were last run on $(<$lastbackupfile)"