I would like to sync my ZFS datastore (root@prox1) to my remote storage server (root@storage) preferably every 15 minutes. It must only sync new data just like zfs replication (which is local only???)
My stroage server also runs PBS that all virtual machines will backup to
I have come across some scripts like https://blog.daveeddy.com/2015/12/05/automatic-zfs-snapshots-and-backups/ that appear to do this but the issue is every time it sends a full snapshot as I want to keep only 1 backup to save space it's not an option to send all virtual machines data every time it runs.
I've come across https://pve.proxmox.com/wiki/PVE-zsync but I don't really understand how to set it up to do this for every virtual machine without manually entering the VMID
This looks like what I want done but it's for PBS to PBS only https://pbs.proxmox.com/docs/managing-remotes.html#sync-jobs
Code:
root@prox1:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
zfs 3.09T 1.98T 96K /zfs
zfs/base-1000-disk-0 12.3G 1.98T 12.3G -
-
-
-
-
My stroage server also runs PBS that all virtual machines will backup to
Code:
root@storage:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
zfs 917G 49.9T 96K /zfs
zfs/PBS 870G 49.9T 870G /zfs/PBS
zfs/base-100-disk-0 24.1G 49.9T 1.19G -
-
-
-
-
I have come across some scripts like https://blog.daveeddy.com/2015/12/05/automatic-zfs-snapshots-and-backups/ that appear to do this but the issue is every time it sends a full snapshot as I want to keep only 1 backup to save space it's not an option to send all virtual machines data every time it runs.
I've come across https://pve.proxmox.com/wiki/PVE-zsync but I don't really understand how to set it up to do this for every virtual machine without manually entering the VMID
This looks like what I want done but it's for PBS to PBS only https://pbs.proxmox.com/docs/managing-remotes.html#sync-jobs