===> The following configuration options are available for zfs-replicate-2.0.2:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
To run zfs-replicate, copy /usr/local/share/zfs-replicate/config.sample.sh to
/usr/local/share/zfs-replicate/config.sh, customize to your environment, and
run using "zfs-replicate -c /usr/local/share/zfs-replicate/config.sh"
The only option that does not have a default, and needs to be set is the REPLICATE_SETS
To check last log, run "zfs-replicate -c /usr/local/share/zfs-replicate/config.sh -s"
See https://github.com/aaronhurt/zfs-replicate for documentation.
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
sysutils/zfs-replicate: update to 2.0
v2.0 now completely POSIX compliant!
In version 2.0, zfs-replicate has been completely rewritten to the POSIX shell,
removing the need for the bash dependency. This means it can be run with shell
like sh, and dash without the need for additional dependencies.
Every feature has been ported over, and the feature list remains the same. For
reference, here they are.
- The script follows strict POSIX standards and should be usable on any host
with a POSIX compliant shell.
- Source pools and datasets are always authoritative, the script will always
defer to the source.
- Supports push and pull replication with local and remote datasets.
- Supports multiple pool/dataset pairs to replicate.
- Supports divergence detection and reconciliation of destination datasets.
- Logging leverages syslog (via logger) by default, but local logging may be
configured.
- Includes a well documented `config.sh` file that may be used as configuration
or as reference for environment
variables passed to the script.
- May be run on any schedule using cron or similar mechanism.
- Fully source compliant and may be used by other scripts.
- Test coverage of core functions via mocks in the test/test.sh script.
- Includes a `--status` option for XigmaNAS that can be used to email the last
log output at your preferred schedule.
Simply add it as a custom script in the email settings under "System >
Advanced > Email Reports"
sysutils/zfs-replicate: final version of 1.0
Final version of 1.0
Change fetch location to original author repo (see below)
Code rewritten
Some variable changes
Documentation updates
See https://github.com/aaronhurt/zfs-replicate for details
PR: 281116
Reported by: Victor <tschetter.victor@gmail.com> (Maintainer)
sysutils/zfs-replicate: update to 1.0
This version includes enhancements and features such as
- supports PUSH or PULL replication
- supports LOCAL or REMOTE replication
- supports multiple pool/dataset pairs to replicate
- everything is logged to `${SCRIPTPATH}/logs` by default (can be set to custom
location using $LOGBASE variable) but its better to keep it together with the
scripts
- runs off a well documented `config.sh` file (see below)
- can be run on any schedule using cron with `bash zfs-replicate.sh -config.sh`
- (for XigmaNAS) includes a `status-report.sh` that can be used to email latest
replication status, which will email the latest replication status at your
preferred schedule. Simply add it as a custom script in the email settings under
"System > Advanced > Email Reports"
- includes ALLOW_REPLICATE_FROM_SCRATCH option (see below, or `config.sh` file
for details)
PR: 280987
Reported by: Victor <tschetter.victor@gmail.com> (Maintainer)
sysutils/zfs-replicate: change maintainer to tschetter.victor@gmail.com
This port was last updated in September of 2022, and the maintainer seems AWOL.
Since then, features have been added to the original github repository (located
at https://github.com/aaronhurt/zfs-replicate)
I have emailed the maintainer listed on the port page
(jnlin@freebsd.cs.nctu.edu.tw) but the only response was that the message could
not be delivered. This was 48 hours ago on August 19, 2024.
I would like to volunteer to maintain this port, as I am the one who pushed the
changes to the github repository to begin with.
PR: 280986
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: 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 )
- update to 0.7_2
- code shift to github
- update WWW along with pkg-descr
- support docs and examples
PR: 207244
Reported by: lapo@lapo.it, w.schwarzenfeld@utanet.at (WWW)
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Categories P-S.
CR: D422
Approved by: portmgr (bapt)