I am backing up my notebook running Arch and my girlfriend's MacBook regularly using rsync and cron / launchctl via ssh.
The target is a FreeNAS server.
I would like to monitor whether the automatic jobs are running correctly, by receiving a notification if the content of the backup folders did not change for a certain time. How can I do that? Or is there some other approach usually used to verify that automatic jobs are running?
cronjob that runs the backup can email upon success and/or failure. You could set acronjob on the NAS that looks at the backup file tree and emails if it does not see anything newer than n days old (find /backups/ -mtime [...] || echo "" | mail -s "no backups on $(date)" [email protected])