rsync_backup_gotify/README.md
2022-10-07 04:33:42 +13:00

14 lines
531 B
Markdown

# rsync_backup_gotify
A short script to run [rsync](https://rsync.samba.org/), and send a notification to [Gotify](https://gotify.net/) with "Success" or "Error", and the last couple of lines of the rsync log.
You can use a tool like the [Cron expression generator](https://crontab.cronhub.io/) 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/