BSD Ports

filesystems/zfsnap2 2.0.0.b3_4 FreeBSD

Portable performant script to make rolling ZFS snapshots easy

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
filesystems, sysutils
Package size
20.7 KiB, 54.3 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDfilesystems/zfsnap22.0.0.b3_4
DragonFlyfilesystems/zfsnap22.0.0.b3_4
MidnightBSDfilesystems/zfsnap22.0.0.b3
HardenedBSDfilesystems/zfsnap22.0.0.b3_4
GhostBSDfilesystems/zfsnap22.0.0.b3_4

Install

Binary package:

pkg install zfsnap2

From the ports tree:

cd /usr/ports/filesystems/zfsnap2/ && make install clean

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

RUN_DEPENDS=	zfsnap2>0:filesystems/zfsnap2

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.0.0.b3_42.0.0.b3_4-2.0.0.b3_42.0.0.b3_4
FreeBSD:14:quarterly2.0.0.b3_42.0.0.b3_4n/a2.0.0.b3_42.0.0.b3_4
FreeBSD:15:latest2.0.0.b3_42.0.0.b3_4n/a2.0.0.b3_42.0.0.b3_4
FreeBSD:15:quarterly2.0.0.b3_42.0.0.b3_4n/an/an/a
FreeBSD:16:latest2.0.0.b3_42.0.0.b3_4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

Options name: filesystems_zfsnap

OptionDefaultDescription
BASHonInstall programmable completions for Bash
DOCSoffBuild and/or install documentation
ZSHonInstall programmable completions for zsh
Service scripts
none

Files

Manual pages 1
  • zfsnap(8)
pkg-plist 14
  • etc/bash_completion.d/zfsnap.sh
  • etc/periodic/daily/402.zfsnap
  • etc/periodic/monthly/402.zfsnap
  • etc/periodic/weekly/402.zfsnap
  • share/man/man8/zfsnap.8.gz
  • sbin/zfsnap
  • share/zfsnap2/commands/destroy.sh
  • share/zfsnap2/commands/recurseback.sh
  • share/zfsnap2/commands/snapshot.sh
  • share/zfsnap2/completion/zfsnap-completion.bash
  • share/zfsnap2/completion/zfsnap-completion.tcsh
  • share/zfsnap2/completion/zfsnap-completion.zsh
  • share/zfsnap2/core.sh
  • share/zsh/site-functions/_zfsnap
distinfo 1
FileSizeSHA256
zfsnap-zfsnap-v2.0.0-beta3_GH0.tar.gz29973d73be34b58d94b89010e2be6fc3d34bdc34b9675aaa2bebfe446dffb683e45d3

Commit history 0

No commits in the history this site was built from.