zfsnap

A portable, performant script to make rolling ZFS snapshots easy.

  • 所有者: sculpin/sculpin
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Note

This branch contains the new 2.0 code-base which is in beta. While 2.0 is a big
step forward and has far better testing, it has not been used as widely in
production as the zfSnap 1.x line.

Testing is most welcome, but use at your own risk.

Please use the "legacy" branch for the older, more battle-tested version of zfSnap.

About zfsnap

zfsnap makes rolling ZFS snapshots easy and — with cron — automatic.

The main advantages of zfsnap are its portability, simplicity, and performance.
It is written purely in /bin/sh and does not require any additional software —
other than a few core *nix utilies.

zfsnap stores all the information it needs about a snapshot directly in its name;
no database or special ZFS properties are needed. The information is stored in
a way that is human readable, making it much easier for a sysadmin to manage
and audit backup schedules.

Snapshot names are in the format of pool/fs@[prefix]Timestamp--TimeToLive (e.g.
pool/fs@weekly-2014-04-07_05.30.00--6m). The prefix is optional but can be quite
useful for filtering, Timestamp is the date and time when the snapshot was
created, and TimeToLive (TTL) is the amount of time the snapshot will be kept
until it can be deleted.

Need help?

The wiki covers zfSnap 1.x. https://github.com/zfsnap/zfsnap/wiki

For information about zfsnap 2.0, please refer to the manpage or the zfsnap
website
.

We have a mailing list (zfsnap@librelist.com) for questions, suggestions, and
discussion. It can also be found at gmane.comp.sysutils.zfsnap on gmane.

Will zfsnap run on my system?

zfsnap is written with portability in mind, and our aim is for it to run on
any and every OS that supports ZFS.

Currently, zfsnap supports FreeBSD, Solaris (and Solaris-like OSs), Linux,
GNU/kFreeBSD, and OS X. It should run on your system as long as:

  • ZFS is installed
  • your Bourne shell is POSIX compliant and supports "local" variables (all modern systems should)
  • your system provides at least the most basic of POSIX utilities (uname, head, etc)
  • your system uses the Gregorian calendar

See the PORTABILITY file for additional information on specific shells and OSs.

主要指标

概览
名称与所有者sculpin/sculpin
主编程语言PHP
编程语言Shell (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2011-12-21 05:45:31
推送于2025-02-17 00:29:07
最后一次提交
发布数24
最新版本名称3.3.0-alpha4 (发布于 2024-12-04 00:09:12)
第一版名称v2.0.0 (发布于 2014-12-23 14:20:07)
用户参与
星数1.5k
关注者数67
派生数194
提交数728
已启用问题?
问题数221
打开的问题数10
拉请求数208
打开的拉请求数13
关闭的拉请求数49
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?