aboutsummaryrefslogtreecommitdiff
path: root/scripts/test-zfs-snap-prune.sh
Commit message (Collapse)AuthorAgeFilesLines
* 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.