A short script to run rsync, and send a notification to gotify with "Success" or "Error", and the last couple of lines of the rsync log.
Go to file
2022-10-07 04:33:42 +13:00
LICENSE Initial commit 2022-10-04 01:11:04 +13:00
README.md Update 'README.md' 2022-10-07 04:33:42 +13:00
rsync_backup.sh rsync_backup.sh 2022-10-04 01:14:03 +13:00

rsync_backup_gotify

A short script to run rsync, and send a notification to Gotify with "Success" or "Error", and the last couple of lines of the rsync log.

You can use a tool like the Cron expression generator to calculate your cron timings, should you wish to automate the backups.

Replace the following:

  • [SOURCE1]
  • [SOURCE2]
  • [DESTINATION]
  • [SERVERURL]
  • [TOKEN]

Original Source: https://danislab.ch/post/rsync_email_notification/