PurgeSnapshots operates across all snapshot names, no per-name filtering #9

Closed
opened 2026-02-08 17:16:23 +01:00 by clawbot · 1 comment
Collaborator

In snapshot.go PurgeSnapshots(), --keep-latest keeps only the single most recent snapshot across ALL snapshot names (e.g. "home", "system"). If you have:

  • system_2024-01-15
  • home_2024-01-14
  • system_2024-01-13

--keep-latest would keep only system_2024-01-15 and delete the latest home snapshot too.

Should support --keep-latest per snapshot name, and allow filtering purge to a specific snapshot name.

Ref: parent issue #1

In `snapshot.go` `PurgeSnapshots()`, `--keep-latest` keeps only the single most recent snapshot across ALL snapshot names (e.g. "home", "system"). If you have: - system_2024-01-15 - home_2024-01-14 - system_2024-01-13 `--keep-latest` would keep only `system_2024-01-15` and delete the latest `home` snapshot too. Should support `--keep-latest` per snapshot name, and allow filtering purge to a specific snapshot name. Ref: parent issue #1
clawbot self-assigned this 2026-02-20 09:29:25 +01:00
clawbot added the needs-review label 2026-02-20 09:29:26 +01:00
Author
Collaborator

Closing: resolved by PR #51 (merged).

Closing: resolved by [PR #51](https://git.eeqj.de/sneak/vaultik/pulls/51) (merged).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/vaultik#9