Infrastructure tooling
Policy-driven ZFS snapshot management
zfsnapper manages recurring snapshots and replication with ZFS-native state instead of a separate database.
$ zsr create -D ::tank/home
$ zsr prune -D ::tank/home \ --keep-daily 14 --dry-run
$ zsr push -D ::tank/home \ backup::backup/home --init
Context
Recurring snapshot creation, retention, replication, and interrupted-run recovery introduce policy and state-management questions. zfsnapper makes those decisions explicit in a command-line workflow.
ZFS-native state
Snapshot names and tags encode intent close to the data they describe. Retention policies select what to keep, while ZFS holds support safe operations that may span multiple steps.
Implemented capabilities
The current public code supports snapshot creation, tags, configurable retention policies, push replication, peers, holds, and recovery after interrupted runs.
Project status
The repository is public source code and an active personal project. It currently has no license or published package, and makes no claims about adoption or reliability.
Implemented scope
Implemented scope and status
- Scope
- Snapshot lifecycleCreation, tagging, retention, replication, holds, and interrupted-run recovery.
- Interface
- Python CLIExplicit commands and configuration for ZFS operations.
Technologies
Technologies and methods
- Python
- ZFS
- Linux
- Command-line interfaces
- Backup operations