Maintain and replicate ZFS snapshots
zap automates the management of zfs snapshots. With a few, simple
crontab entries, it can be used to create a comprehensive zfs backup
system. There are no configuration files. All parameters are supplied
on the command line or in zfs properties and all snapshot information
is stored in snapshot names.
zap plays nice with manually created snapshots or snapshots from other
tools. It will only operate on snapshots it creates.
===> The following configuration options are available for zap-0.8.3_1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
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
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)
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 )
sysutils/zap: Update to version 0.6.8.
Release information: https://github.com/Jehops/zap/releases/tag/0.6.8
Port changes:
- Remove warnings in pkg-message about option changes in older
pre-releases.
- Update pkg-message to mention blog post describing a replication
strategy.
Reported by: David Samms <dsamms@nw-ds.com>
Approved by: swills (mentor, implicit)
sysutils/zap: Update to version 0.6.4.
Fix issues with replication.
- Do not require all '-r dataset' arguments to be listed first.
- Fix error checking.
If only one argument to 'zap rep' was supplied, replication would
silently fail. This required breaking the interface. Instead of
zap rep|replicate [-dLSv] [[-r dataset]... [dataset]... remote_dest]
the format is now
zap rep|replicate [-dLSv] [remote_dest [-r] dataset [[-r] dataset]...].
Fix issue with destroy.
(Only the first 15 lines of the commit message are shown above )
sysutils/zap: Update to version 0.6.3.
Fix problem calling basic sed with unsupported a|b.
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D9078
sysutils/zap: Update to version 0.6.2
Add options to control behaviour when a resilver is in progress.
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D9044
sysutils/zap: Update to version 0.6.1.
Changes in version 0.6.0:
- Add remote replication support.
- Rework command options to be similar to the zfs command.
Changes in version 0.6.1:
- Fix incorrect replication example in the documentation.
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D9043
sysutils/zap: Update to version 0.5.0
Changelog:
- Use getops for option handling.
- Create snapshots again when a scrub is in progress.
- Let the -r flag be specified for individual datasets.
- To handle parsing the '-r' flags, the create function was broken off
into two functions: create_parse() and create(). create() creates one
snapshot per call.
- Created helper functions pool_ok and pool_scrub.
- Minor changes to warning messages.
- POSIX sh does not support local, so initialize variables intended to be
local to a function.
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D8511
Use PORTDOCS to install README and do not suppress directory creation output
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D8131
New port: sysutils/zap
Use zap to maintain ZFS snapshots with cron.
- Uses neither configuration files nor custom ZFS properties
- all information is supplied when zap is invoked and stored in snapshot
names.
- Uses namespaces to avoid collisions with other snapshots.
- Creates and destroys snapshots only when it makes sense to.
- Written in POSIX sh.
WWW: https://github.com/Jehops/zap
PR: 208495
Submitted by: Joseph Mingrone <jrm@ftfl.ca>