angela 1b1c44fd41 Custom Synology tasks section added %!s(int64=2) %!d(string=hai) anos
..
README.md 6be02cc422 Cron script added %!s(int64=5) %!d(string=hai) anos
crontab 11023fea07 Add ignore db options %!s(int64=3) %!d(string=hai) anos
db-backup-cron.sh ab0882229e Redundant kill %!s(int64=5) %!d(string=hai) anos
systemd-timer.md e4e66821b0 systemd user service notes %!s(int64=3) %!d(string=hai) anos

README.md

Automated Git Notifications for Remote Backups

Linux desktop notifications for automating git pull to update local repositories with bzipped database backups.

git output

Reject the automated pull if a VPN session is detected:

git output

If no updates exist in the remote directory (which should never occur if you time your local cron in sync with the remote schedule)

git output

  • crontab has the cron schedule; this file also features the crons I use on the remote server which my local repository then pulls from.
  • db-backup-cron.sh is a small shell script to check for the existence of a VPN tunnel; if the VPN is offline, the pull will commence. If a tunnel is detected, the pull will be rejected and skipped with a notification.