ZFS Snapshotting Service
  • Go 98.7%
  • Shell 1.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2020-05-08 14:14:43 +02:00
_testdata Modernize build 2020-05-08 14:14:20 +02:00
doc Initial 2015-09-28 13:55:32 +02:00
etc Initial 2015-09-28 13:55:32 +02:00
man/man1 Modernize build 2020-05-08 14:14:20 +02:00
zfs Modernize build 2020-05-08 14:14:20 +02:00
.gitignore Initial 2015-09-28 13:55:32 +02:00
build.sh Modernize build 2020-05-08 14:14:20 +02:00
datasets.go Modernize build 2020-05-08 14:14:20 +02:00
expand.go Modernize build 2020-05-08 14:14:20 +02:00
expand_test.go Modernize build 2020-05-08 14:14:20 +02:00
go.mod Modernize build 2020-05-08 14:14:20 +02:00
go.sum Modernize build 2020-05-08 14:14:20 +02:00
job.go Try harder to clean up old snapshots 2020-05-08 14:14:43 +02:00
job_test.go Modernize build 2020-05-08 14:14:20 +02:00
main.go Modernize build 2020-05-08 14:14:20 +02:00
README.md Initial 2015-09-28 13:55:32 +02:00

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 -v and 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