automorphism88 / snapraid-btrfs

Script for using snapraid with btrfs snapshots
GNU General Public License v3.0
138 stars 16 forks source link

snapraid-btrfs cleanup is not cleaning up diff snapshots #19

Closed FlexibleToast closed 3 years ago

FlexibleToast commented 3 years ago

If I run snapraid-btrfs diff and then later snapraid-btrfs cleanup the snapshot that gets created for the diff does not get cleaned up. That snapshot only gets removed if I perform a snapraid-btrfs cleanup-all.

FlexibleToast commented 3 years ago

I discovered that if the diff exists before the last sync, then it is removed. If the diff occurs after the last sync it is not removed. This matches what the text in the help page states.