filesystems/zfsnap2 2.0.0.b3 MidnightBSD
Portable performant script to make rolling ZFS snapshots easy
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd3
- Categories
- filesystems, sysutils
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
The newest version among them is 2.0.0.b3, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | filesystems/zfsnap2 | 2.0.0.b3 newest | no data | - | [email protected] | - |
| FreeBSD | filesystems/zfsnap2 | 2.0.0.b3_4 newest | none known | - | [email protected] | - |
| DragonFly | filesystems/zfsnap2 | 2.0.0.b3_4 newest | none known | - | [email protected] | - |
| HardenedBSD | filesystems/zfsnap2 | 2.0.0.b3_4 newest | no data | - | [email protected] | - |
| GhostBSD | filesystems/zfsnap2 | 2.0.0.b3_4 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install zfsnap2
From mports:
cd /usr/mports/filesystems/zfsnap2 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= zfsnap2>0:filesystems/zfsnap2
Dependencies
No port depends on this one.
Configuration
Options name: filesystems_zfsnap
| Option | Default | Description |
|---|---|---|
| BASH | on | |
| DOCS | off | |
| ZSH | on |
- 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 |