rsync_backup_gotify/README.md

15 lines
595 B
Markdown
Raw Normal View History

2022-10-04 01:11:04 +13:00
# rsync_backup_gotify
2022-10-07 04:32:54 +13:00
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.
2022-10-04 01:15:31 +13:00
Replace the following:
* [SOURCE1]
* [SOURCE2]
* [DESTINATION]
* [SERVERURL]
* [TOKEN]
2022-10-07 04:32:54 +13:00
Original Source: https://danislab.ch/post/rsync_email_notification/
Modified by me to use Gotify instead of email for notifications