BSD Ports

filesystems/zfsnap 1.11.1 MidnightBSD

Simple sh script to make zfs rolling snaphosts with cron

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
other
Categories
filesystems, sysutils

Description

zfSnap is a simple sh script for creating ZFS snapshots. When called from cron rolling snapshots can be created and deleted automatically. The main advantage of zfSnap is that it is written in 100% pure /bin/sh, does not require any additional software to run, and is simple to use.

zfSnap keeps all information about snapshot in snapshot name. zfs snapshot names are in form: Timestamp--TTL where timestamp is date and time of snapshot creation and TTL is Time To Live in human readable form.

In the other systems

The newest version among them is 1.11.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDfilesystems/zfsnap1.11.1 newestno data-[email protected]-
FreeBSDfilesystems/zfsnap1.11.1_1 newestnone known-[email protected]-
DragonFlyfilesystems/zfsnap1.11.1_1 newestnone known-[email protected]-
HardenedBSDfilesystems/zfsnap1.11.1_1 newestno data-[email protected]-
GhostBSDfilesystems/zfsnap1.11.1_1 newestno data-[email protected]-

Install

Binary package:

mport install zfsnap

From mports:

cd /usr/mports/filesystems/zfsnap && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	zfsnap>0:filesystems/zfsnap

Dependencies

No port depends on this one.

Files

pkg-plist 10
  • sbin/zfSnap
  • %%PERIODICDIR%%/daily/402.zfSnap
  • %%PERIODICDIR%%/daily/403.zfSnap_delete
  • %%PERIODICDIR%%/hourly/402.zfSnap
  • %%PERIODICDIR%%/hourly/403.zfSnap_delete
  • %%PERIODICDIR%%/monthly/402.zfSnap
  • %%PERIODICDIR%%/monthly/403.zfSnap_delete
  • %%PERIODICDIR%%/reboot/402.zfSnap
  • %%PERIODICDIR%%/weekly/402.zfSnap
  • %%PERIODICDIR%%/weekly/403.zfSnap_delete
distinfo 1
FileSizeSHA256
zfsnap-zfsnap-1.11.1-v1.11.1_GH0.tar.gz4969dd533d5faff9fa98deeb9ae0909784b67b0dc43d3870f259eeb390fbc1d03bcf