Hi, I tried to create multiple single (manual) snapshots and then to run schnapps delete --compare
and it worked as expected. If a snapshot didn’t contain any change, the previous one was deleted if favor the newer one. If any changes were there the previous snapshot wasn’t deleted.
Your snapshot 5 was deleted probably due to absence of any changes in 6. The max_single
option has no effect in this case. But the information provided by schnapps help
(or schnapps
) is misleading and should be changed - schnapps deletes older snapshots in such cases. I’ll create an issue or a patch for this.