]> git.proxmox.com Git - pve-zsync.git/commit
check for correct incremental sync snapshot on destination
authorWolfgang Link <w.link@proxmox.com>
Wed, 18 Mar 2020 06:51:12 +0000 (07:51 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 19 Mar 2020 12:02:14 +0000 (13:02 +0100)
commit3423ce79c6ae454e7e2d8afc0d1b589a5bcc3f50
tree8304e95e67676ab8ea5b5b5ee86c2474823b635f
parentfd8052006bf0642fc091d6c6eb30e99fbe4cd1ff
check for correct incremental sync snapshot on destination

For an incremental sync you need the last_snap on both sides. The
call to the zfs list contains the snapshot. If the snapshot does not
exist, the command is returned with an error that we are catching.

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Reviewed-By: Fabian Ebner <f.ebner@proxmox.com>
Tested-By: Fabian Ebner <f.ebner@proxmox.com>
pve-zsync