Proxmox replication not detected with 'exclude-unchanged 1' #255
-
I am testing zfs-autobackup on a Proxmox cluster that uses replication, in many cases hourly or more often. I want to replace znapzend as it still doesn't support resuming an abandoned offsite replication, which happens when our provider nightly cuts the VDSL link we exclusively use for remote backup. For test purposes, I have set autobackup:test on two datasets, one of them is local (subvol-130-disk-0), the other one is a replication (subvol-129-disk-0). For testing, I am using this script:
Both datasets get processed. I have noticed that zfs-autobackup uses the 'written' parameter of a filesystem to detect modification after the last snapshot. The 'written' parameter of many of the replicated datasets is > 0 (some, however, are 0!) and therefore the replicated datasets get processed. Example On the replicated node:
On the original node:
I am using pve 8.2.2 and zfs-autobackup v3.2, installed using pipx. Any idea what might be happening here? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Whats going on with written being bigger than 0 on the target you mean? Check out https://github.com/psy0rz/zfs_autobackup/wiki/Mounting And try the 3.3 beta version. |
Beta Was this translation helpful? Give feedback.
-
Yes i was talking about the backup target. |
Beta Was this translation helpful? Give feedback.
-
The exclude-unchanged was made for proxmox, i never found out the reason why it changes around 188kb or something. So just use a value that is big enough. Indeed your method would be better but more complicated. |
Beta Was this translation helpful? Give feedback.
The exclude-unchanged was made for proxmox, i never found out the reason why it changes around 188kb or something.
So just use a value that is big enough.
Indeed your method would be better but more complicated.