Wait until you find out that zrepl[1] exists, what it can do and that it can even be signaled ;-)
but if anybody else wants to read about this (the tagline "helps you configures zfs backups" – wasn't helpful to me) technology, here is the zrepl quickstart guide:
<https://zrepl.github.io/quickstart.html#quickstart-toc>
----
From zrepl guide, example use-cases:
•) Continuous Backup of a Server
•) Local Snapshots + Offline Backup to an External Disk
•) Fan-out replication
I use it for:
- job 1: every 15 minute autosnapshot and cleanup
- job 2: push encrypted snapshots to an external harddrive via cronjob and signal
- job3 (another server): pull snapshots from the main server via ssh for ransomware resistant backups (mainserver cannot access backupserver at all)