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
| System | Port | Version |
|---|---|---|
| FreeBSD | filesystems/zfsnap2 | 2.0.0.b3_4 |
| DragonFly | filesystems/zfsnap2 | 2.0.0.b3_4 |
| MidnightBSD | filesystems/zfsnap2 | 2.0.0.b3 |
| HardenedBSD | filesystems/zfsnap2 | 2.0.0.b3_4 |
| GhostBSD | filesystems/zfsnap2 | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.0.0.b3_4 | 2.0.0.b3_4 | - | 2.0.0.b3_4 | 2.0.0.b3_4 |
| FreeBSD:14:quarterly | 2.0.0.b3_4 | 2.0.0.b3_4 | n/a | 2.0.0.b3_4 | 2.0.0.b3_4 |
| FreeBSD:15:latest | 2.0.0.b3_4 | 2.0.0.b3_4 | n/a | 2.0.0.b3_4 | 2.0.0.b3_4 |
| FreeBSD:15:quarterly | 2.0.0.b3_4 | 2.0.0.b3_4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0.0.b3_4 | 2.0.0.b3_4 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| Option | Default | Description |
|---|---|---|
| BASH | on | Install programmable completions for Bash |
| DOCS | off | Build and/or install documentation |
| ZSH | on | Install 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
| File | Size | SHA256 |
|---|---|---|
| zfsnap-zfsnap-v2.0.0-beta3_GH0.tar.gz | 29973 | d73be34b58d94b89010e2be6fc3d34bdc34b9675aaa2bebfe446dffb683e45d3 |
Commit history 0
No commits in the history this site was built from.