Hi, you might know me from such posts as Duplicacy preparing for backup relatively slow with filter applied where on 5400RPM rotational ZFS zpools scanning a zvol can take upwards an hour…
Well you know what doesn’t take an hour on said system?
time zfs diff Main-Volume/subvol-102-disk-1@autosnap_2020-04-06_20:36:32_daily Main-Volume/subvol-102-disk-1@autosnap_2020-04-07_00:05:20_daily > /dev/null real 1m15.925s
diffing 2 snapshots! If I could pipe the output of those snapshots into a set of files that have been modified, have been added, or have been deleted within a repository then my backup time would be reduced by an order of magnitude or more!
Any chance on that being added? I don’t know go at all but it looked like the concept of the Scanner and the file list was pretty tightly coupled in the code.