Closed snehring closed 4 years ago
There's also an issue with the delete snapshots on the receiving side for descendant datasets.
https://github.com/snehring/zfsbackup/blob/25fd5b796c5a32351f752f0066b862a5987b9c82/zfsbackup.py#L579 receiving side snapshots are enumerated with -r (for some reason I cannot remember) which would also list snapshots of descendant filesystems which is extremely not desired.
Similarly the list invocation for get snapshots also features -r (again, presumably for some reason but I cannot remember why). Which is incorrect for this.
this specific problem is with the has_stragglers method matching snapshots that belong to child datasets.