aboutsummaryrefslogtreecommitdiff
path: root/custom/zfs-snap-prune
Commit message (Collapse)AuthorAgeFilesLines
* Add snapshot retention with automatic pruningCraig Jennings2026-01-181-0/+208
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.