Cool, that's next on my to-do list for this weekend so let me know how you get on.
So close... need some help though to get this running from cron.
Script works, but when trying to run from cron nothing happens
49 * * * * /home/pi/tmbackup/tmbackup.sh > /home/pi/tmbackup/tmb.log
Output in the syslog
May 6 21:49:02 raspberrypi CRON[5456]: (root) CMD (/home/pi/tmbackup/tmbackup.sh > /home/pi/tmbackup/tmb.log)
May 6 21:49:03 raspberrypi CRON[5452]: (CRON) info (No MTA installed, discarding output)
absolutely nothing in the tmb.log file either!