mirror of
https://github.com/calmh/zsnapper.git
synced 2026-07-17 01:45:08 +00:00
ZFS Snapshotting Service
- Go 98.7%
- Shell 1.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| _testdata | ||
| doc | ||
| etc | ||
| man/man1 | ||
| zfs | ||
| .gitignore | ||
| build.sh | ||
| datasets.go | ||
| expand.go | ||
| expand_test.go | ||
| go.mod | ||
| go.sum | ||
| job.go | ||
| job_test.go | ||
| main.go | ||
| README.md | ||
zsnapper
Zsnapper automatically creates ZFS snapshots on a specified schedule, while also removing old snapshots as required.
Builds
https://github.com/calmh/zsnapper/releases
Installation
- Untar the distribution.
- Copy and modify
etc/zsnapper.yml.sample. - Run
zsnapper -c path-to-config-file -vand observe output.
For Solaris installations, a sample SMF manifest is in etc/site-zsnapper.xml. It assumes an installation under /opt/local/zsnapper but is easily modified for other locations.
Documentation
https://github.com/calmh/zsnapper/blob/master/doc/zsnapper.rst
Building
- Install Go
go get github.com/constabulary/gb/...gb build
The bundled script build.sh creates distribution packages, assuming the above
requirements are met.
License
MIT