Gayhurst Rd Raspberry Pi configuration

Host Address User Path to backup
File server 192.168.178.31 pi2 /mnt/usb/backup
MQTT server 192.168.178.20 pi1 /media/backup

The backup script /root/bin/backup runs at 3am every morning.

To configure for a different time:

crontab -l  # Show
crontab -e  # Edit

SHELL=/bin/sh
PATH=/root/bin:/bin:/sbin:/usr/bin:/usr/sbin

#  ,minute
#  |  ,hour
#  |  |  ,day of the month (or * for every day of the month)
#  |  |  |  ,month
#  |  |  |  |  ,day of the week (or * for every day of the week)
#  |  |  |  |  |  ,command
#  |  |  |  |  |  |
  53 03  *  *  *  SNAPSHOT=yes  backup --stats > /tmp/backup.log