notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Remember
I remember
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
zfsnap Simple sh script to make zfs rolling snaphosts with cron
1.11.1_1 filesystemsnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: yamagi@yamagi.org search for ports maintained by this maintainer
Port Added: 2024-11-07 19:52:55
Last Update: 2024-11-06 15:17:35
Commit Hash: 6e2da96
Also Listed In: sysutils
License: BSD3CLAUSE
WWW:
https://github.com/zfsnap/zfsnap
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (16 items)
Collapse this list.
  1. /usr/local/share/licenses/zfsnap-1.11.1_1/catalog.mk
  2. /usr/local/share/licenses/zfsnap-1.11.1_1/LICENSE
  3. /usr/local/share/licenses/zfsnap-1.11.1_1/BSD3CLAUSE
  4. sbin/zfSnap
  5. etc/periodic/daily/402.zfSnap
  6. etc/periodic/daily/403.zfSnap_delete
  7. etc/periodic/hourly/402.zfSnap
  8. etc/periodic/hourly/403.zfSnap_delete
  9. etc/periodic/monthly/402.zfSnap
  10. etc/periodic/monthly/403.zfSnap_delete
  11. etc/periodic/reboot/402.zfSnap
  12. etc/periodic/weekly/402.zfSnap
  13. etc/periodic/weekly/403.zfSnap_delete
  14. @owner
  15. @group
  16. @mode
Collapse this list.
Dependency lines:
  • zfsnap>0:filesystems/zfsnap
To install the port:
cd /usr/ports/filesystems/zfsnap/ && make install clean
To add the package, run one of these commands:
  • pkg install filesystems/zfsnap
  • pkg install zfsnap
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: zfsnap
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1730905205 SHA256 (zfsnap-zfsnap-v1.11.1_GH0.tar.gz) = dd533d5faff9fa98deeb9ae0909784b67b0dc43d3870f259eeb390fbc1d03bcf SIZE (zfsnap-zfsnap-v1.11.1_GH0.tar.gz) = 4969

Packages (timestamps in pop-ups are UTC):
zfsnap
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest-1.11.1_1n/a-n/a---
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
filesystems_zfsnap
pkg-message:
For install:
To run zfSnap periodically you can add these options to your /etc/periodic.conf xPERIODICx_zfsnap_enable - Enable xPERIODICx snapshots (values: YES | NO) xPERIODICx_zfsnap_fs - Space separated zfs filesystems to create non-recursive snapshots xPERIODICx_zfsnap_recursive_fs - Space separated zfs filesystems to create recursive snapshots xPERIODICx_zfsnap_ttl - Set Time To Live xPERIODICx_zfsnap_verbose - Verbose output (values: YES | NO) xPERIODICx_zfsnap_flags - zfSnap generic flags (except -v and -d) xPERIODICx_zfsnap_enable_prefix - Create snapshots with prefix (Default = YES) xPERIODICx_zfsnap_prefix - Set prefix to use for new snapshots (Default = "xPERIODICx-") (where xPERIODICx is any of hourly, daily, weekly, monthly, reboot) xPERIODICx_zfsnap_delete_enable - Delete old snapshots periodically (values: YES | NO) xPERIODICx_zfsnap_delete_flags - zfSnap generic flags (except -v and -d) xPERIODICx_zfsnap_delete_verbose - Verbose output (values: YES | NO) xPERIODICx_zfsnap_delete_prefixes - Space separated list of prefixes of old zfSnap snapshots to delete 'hourly-', 'daily-', 'weekly-', 'monthly-' and 'reboot-' prefixes are hard-coded (where xPERIODICx is any of daily, weekly, monthly) Add these lines to your /etc/crontab 4 * * * * root periodic hourly @reboot root periodic reboot NOTE: it is not recommended to delete zfSnap snapshots every hour. Deleting zfs snapshots takes more time than creating them. There for it's better to delete snapshots once per day... Periodic scripts provide very limited feature set. If you want to use more advanced setup, you need to call zfSnap from crontab directly. This way you can combine all sort of parameter combinations. Don't forget to check https://github.com/graudeejs/zfSnap/wiki for more info. Feedback welcomed: graudeejs@gmail.com
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/zfsnap/zfsnap/tar.gz/v1.11.1?dummy=/
Collapse this list.
Port Moves
  • port moved here from sysutils/zfsnap on 2024-11-06
    REASON: Moved to new category filesystems

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.11.1_1
06 Nov 2024 15:17:35
commit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9dcommit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9dcommit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9dcommit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9d files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
filesystems: add new category for file systems and related utilities

The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.

Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.

Approved by:	portmgr (rene)
Reviewed by:	mat
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/302
PR:		281988

Number of commits found: 1