angela 1b1c44fd41 Custom Synology tasks section added 2 tahun lalu
..
README.md 6be02cc422 Cron script added 5 tahun lalu
crontab 11023fea07 Add ignore db options 3 tahun lalu
db-backup-cron.sh ab0882229e Redundant kill 5 tahun lalu
systemd-timer.md e4e66821b0 systemd user service notes 3 tahun lalu

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.