aboutsummaryrefslogtreecommitdiff
path: root/scripts/test-zfs-snap-prune.sh
Commit message (Collapse)AuthorAgeFilesLines
* fix: remove obsolete test for deleted zfs-snap-pruneCraig Jennings2026-01-261-303/+0
| | | | | | - Remove test-zfs-snap-prune.sh (tested deleted script) - Update Makefile to reference existing custom/ scripts - Remove test-unit target (no unit tests remain)
* Add snapshot retention with automatic pruningCraig Jennings2026-01-181-0/+303
Implements hybrid retention policy: - Always keep 20 most recent snapshots - Delete snapshots beyond #20 only if older than 180 days - Genesis snapshot is always protected Features: - zfs-snap-prune script with --dry-run, --test, --verbose modes - Comprehensive test suite (22 tests) - Runs automatically after pacman operations - Daily systemd timer for cleanup - Regenerates GRUB menu after pruning This prevents unbounded snapshot growth while preserving recent history and the genesis snapshot.