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
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
zfsnap Simple sh script to make zfs rolling snaphosts with cron
1.11.1_1 sysutils on this many watch lists=18 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 1.11.1_1Version of this port present on the latest quarterly branch.
Maintainer: yamagi@yamagi.org search for ports maintained by this maintainer
Port Added: 2010-08-03 17:40:00
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: pkg, ca_root_nss, indexinfo, curl, git
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

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:sysutils/zfsnap
To install the port:
cd /usr/ports/sysutils/zfsnap/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/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:
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:latest1.11.1_11.11.1_11.11.1_11.11.1_11.11.1_1-1.11.1_1-
FreeBSD:13:quarterly1.11.1_11.11.1_11.11.1_11.11.1_11.11.1_11.11.1_11.11.1_11.11.1_1
FreeBSD:14:latest1.11.1_11.11.1_11.11.1_11.11.1_11.11.1_11.11.1_1-1.11.1_1
FreeBSD:14:quarterly1.11.1_11.11.1_1-1.11.1_11.11.1_11.11.1_11.11.1_11.11.1_1
FreeBSD:15:latest1.11.1_11.11.1_1n/a1.11.1_1n/a1.11.1_11.11.1_11.11.1_1
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
sysutils_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.

Number of commits found: 39

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.11.1_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.11.1_1
20 Jul 2022 14:23:05
commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
sysutils: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <jsmith@resonatingmedia.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Landwehr <aaron@snaphat.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Adrian Chadd
  *  Adrian Chadd <adrian@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Eldridge <alane@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.11.1_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.11.1_1
14 Aug 2019 12:16:13
Revision:508909Original commit files touched by this commit
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories s)
1.11.1_1
22 Jun 2019 09:02:03
Revision:504856Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update WWW

Approved by:	portmgr blanket
1.11.1_1
22 Jan 2018 17:05:49
Revision:459676Original commit files touched by this commit
eugen search for other commits by this committer
sysutils/zfsnap: fix -s/-S mode.

Move creation of files from "do-patch" to "post-extract" target,
so that patches from files/ directory get applied.

While here, add LICENSE.

PR:		223951
Submitted by:	Anton Sayetsky <vsasjason@gmail.com> (based on)
Approved by:	yamagi@yamagi.org (maintainer timeout, 7 weeks)
1.11.1
19 May 2016 11:09:14
Revision:415503Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-messages

Approved by:	portmgr blanket
1.11.1
07 May 2015 20:24:16
Revision:385665Original commit files touched by this commit
mat search for other commits by this committer
Update ports in the remaining categories to not use GH_COMMIT.

With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
1.11.1
22 Nov 2014 09:13:36
Revision:373038Original commit files touched by this commit
antoine search for other commits by this committer
Cleanup plist
1.11.1
01 Oct 2014 08:39:44
Revision:369704Original commit files touched by this commit
madpilot search for other commits by this committer
Assign maintainership to submitter of the last PR committed to this
port who volunteered via email.

PR:		192987
Submitted by:	yamagi@yamagi.org (New maintainer)
1.11.1
17 Sep 2014 14:04:58
Revision:368376Original commit files touched by this commit
madpilot search for other commits by this committer
- Update to 1.11.1 [1]
- Reset maintainer due to repeated timeouts

PR:		192987 [1]
Submitted by:	yamagi at yamagi.org
1.11.0
04 Sep 2014 11:11:08
Revision:367258Original commit files touched by this commit
tdb search for other commits by this committer
Fix zfsnap.

The project has changed location. I have verified the old and new
tarballs by hand and the contents (except the directory name) are
identical.

PR:		192705
1.11.0
16 Aug 2014 19:42:06
Revision:365127Original commit files touched by this commit
marino search for other commits by this committer
Mark sysutils/zfsnap BROKEN due to fetching checksum mismatch

PR:		192705
Reported by:	amvandemore (gmail)
1.11.0
18 Jan 2014 16:44:11
Revision:340195Original commit files touched by this commit
rakuco search for other commits by this committer
Improve wording in pkg-descr.

PR:		ports/180607
Submitted by:	"N.J. Mann" <njm@njm.me.uk>
Approved by:	maintainer timeout (185 days)
1.11.0
27 Dec 2013 18:32:10
Revision:337775Original commit files touched by this commit
bapt search for other commits by this committer
Support stage
1.11.0
20 Sep 2013 23:06:00
Revision:327772Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils)
1.11.0
30 Dec 2012 04:28:49
Revision:309646Original commit files touched by this commit
tota search for other commits by this committer
- Update to 1.11.0
- Switch to USE_GITHUB

PR:		ports/174767
Submitted by:	Aldis Berjoza <graudeejs_AT_gmail_DOT_com> (maintainer)
1.10.1_1
14 Oct 2012 21:09:21
Revision:305895Original commit files touched by this commit
madpilot search for other commits by this committer
- Add hourly deletion script
- While I'm here, trim Makefile headers

PR:		ports/172665
Submitted by:	Aldis Berjoza <graudeejs@gmail.com> (maintainer)
Feature safe:	yes
1.10.1
24 Oct 2011 09:11:38
Original commit files touched by this commit
dougb search for other commits by this committer
The vast majority of pkg-descr files had the following format when they
had both lines:

Author: ...
WWW: ....

So standardize on that, and move them to the end of the file when necessary.

Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.

s/AUTHOR/Author/

A few other various formatting issues
1.10.1
17 Sep 2011 08:42:12
Original commit files touched by this commit
crees search for other commits by this committer
Update email address for ports maintained by aldis@bsdroot.lv -->
graudeejs@gmail.com
1.10.1
05 Sep 2011 09:17:11
Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 1.10.1
- Update WWW, links and e-mail address

PR:             ports/160396
Submitted by:   Aldis Berjoza <aldis@bsdroot.lv> (maintainer)
1.10.0
05 Jun 2011 12:46:30
Original commit files touched by this commit
tdb search for other commits by this committer
- Update zfSnap to 1.10.0

This includes a workaround for use with zpool v28. See UPDATING for
more information.

PR:             ports/157621
Submitted by:   Aldis Berjoza <aldis@bsdroot.lv> (maintainer)
1.9.4
14 Feb 2011 18:56:34
Original commit files touched by this commit
sylvio search for other commits by this committer
- Update to 1.9.4

PR:             ports/154779
Submitted by:   Aldis Berjoza <aldis@bsdroot.lv> (maintainer)
1.9.2
15 Jan 2011 21:04:24
Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 1.9.2

Changes:
- Remove awk

PR:             ports/154037
Submitted by:   Aldis Berjoza <aldis@bsdroot.lv> (maintainer)
Feature safe:   yes
1.9.1
13 Jan 2011 11:53:18
Original commit files touched by this commit
tdb search for other commits by this committer
- Update to 1.9.1

PR:             ports/153934
Submitted by:   Aldis Berjoza <aldis@bsdroot.lv> (maintainer)
Feature safe:   yes
1.8.2
12 Jan 2011 12:33:21
Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 1.8.2

Changes:
- Add -s & -S switches to prevent actions on pool while resilvering
  or scrubing pool

PR:             ports/153927
Submitted by:   Aldis Berjoza <aldis@bsdroot.lv> (maintainer)
Feature safe:   yes
1.7.2
11 Jan 2011 08:35:14
Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 1.7.2

PR:             ports/153860
Submitted by:   Aldis Berjoza <aldis@bsdroot.lv> (maintainer)
1.7.0
08 Nov 2010 20:32:59
Original commit files touched by this commit
tdb search for other commits by this committer
- Update to 1.7.0.

PR:             ports/152064
Submitted by:   Aldis Berjoza <aldis@bsdroot.lv> (maintainer)
1.6.0
26 Oct 2010 08:04:14
Original commit files touched by this commit
girgen search for other commits by this committer
Update to version 1.6.0

PR:     ports/151740
1.5.0
08 Oct 2010 07:39:19
Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 1.5.0

Changes:
- Added -D switch to delete all zfSnap snapshots of specific zpool/zfs
 
http://wiki.bsdroot.lv/zfsnap#delete_all_zfsnap_snapshots_on_specific_filesystem

PR:             ports/151213
Submitted by:   "aldis@bsdroot.lv" <aldis@bsdroot.lv> (maintainer)
Approved by:    pgollucci (mentor)
1.4.0
29 Sep 2010 13:12:29
Original commit files touched by this commit
decke search for other commits by this committer
- Update to 1.4.0

PR:             ports/151017
Submitted by:   Aldis Berjoza <aldis at bsdroot dot lv> (maintainer)
Approved by:    beat (co-mentor, implicit)
1.3.2
20 Sep 2010 16:15:00
Original commit files touched by this commit
tdb search for other commits by this committer
- Update to 1.3.2
- This version specifies the full path to the zfs binary (ie. /sbin/zfs)

PR:             ports/150758
Submitted by:   Aldis Berjoza <aldis at bsdroot.lv> (maintainer)
1.3.1
20 Sep 2010 00:41:31
Original commit files touched by this commit
tdb search for other commits by this committer
- Update to 1.3.1

PR:             ports/150732
Submitted by:   Aldis Berjoza <aldis at bsdroot.lv> (maintainer)
1.2.6
05 Aug 2010 22:34:10
Original commit files touched by this commit
tdb search for other commits by this committer
- Update to 1.2.6

Submitted by:   Aldis Berjoza <aldis at bsdroot.lv> (maintainer)
1.2.5
05 Aug 2010 17:31:50
Original commit files touched by this commit
tdb search for other commits by this committer
- Update to 1.2.5

PR:             ports/149332
Submitted by:   Aldis Berjoza <aldis at bsdroot.lv>
1.2.4
05 Aug 2010 16:13:31
Original commit files touched by this commit
tdb search for other commits by this committer
- Update to 1.2.4

PR:             ports/149324
Submitted by:   Aldis Berjoza <aldis at bsdroot.lv>
1.1.8
03 Aug 2010 17:42:59
Original commit files touched by this commit
tdb search for other commits by this committer
- Update to 1.1.8

PR:             ports/149239
Submitted by:   Aldis Berjoza <aldis at bsdroot.lv>
1.1
03 Aug 2010 17:39:21
Original commit files touched by this commit
tdb search for other commits by this committer
- Add new port sysutils/zfsnap:

zfSnap is very simple sh script to make periodic zfs snapshots with cron.
It will also delete old snapshots.

WWW: http://aldis.git.bsdroot.lv/zfSnap

PR:             ports/149188
Submitted by:   Aldis Berjoza <aldis at bsdroot.lv>

Number of commits found: 39