Port details |
- zfs-replicate ZFS Snapshot Replication Script
- 2.0.2 sysutils
=6 2.0.2Version of this port present on the latest quarterly branch. - Maintainer: tschetter.victor@gmail.com
 - Port Added: 2008-05-26 01:49:25
- Last Update: 2024-11-06 15:17:35
- Commit Hash: 6e2da96
- People watching this port, also watch:: net-snmp, rrdtool, libxml2, openvpn, nagios
- License: not specified in port
- WWW:
- https://github.com/aaronhurt/zfs-replicate
- Description:
- Advanced ZFS replication script to replicate zfs datasets/volumes between hosts
(or between pools on the same host) via incremental snapshots.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- zfs-replicate>0:sysutils/zfs-replicate
- No installation instructions:
- This port has been deleted.
- PKGNAME: zfs-replicate
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1725286224
SHA256 (aaronhurt-zfs-replicate-v2.0.2_GH0.tar.gz) = a1db4fef430033c780d1616514ef4b8f71ed17c8a02347a565d3af67863683b6
SIZE (aaronhurt-zfs-replicate-v2.0.2_GH0.tar.gz) = 12678
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- There are no ports dependent upon this port
Configuration Options:
- ===> 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
- Options name:
- sysutils_zfs-replicate
- USES:
- shebangfix
- pkg-message:
- For install:
- 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.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.0.2 06 Nov 2024 15:17:35
    |
Robert Clausecker (fuz)  |
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 |
2.0.2 02 Sep 2024 14:42:27
    |
Larry Rosenman (ler)  |
sysutils/zfs-replicate: update to 2.0.2
Minor bugfixes
Doc updates
Codeowner file added
PR: 281210
Reported by: Victor <tschetter.victor@gmail.com> (Maintainer) |
2.0 01 Sep 2024 17:29:51
    |
Larry Rosenman (ler)  |
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" |
1.0_2 29 Aug 2024 21:59:44
    |
Larry Rosenman (ler)  |
sysutils/zfs-replicate: add pkg-message
PR: 281130
Reported by: Victor <tschetter.victor@gmail.com> (Maintainer) |
1.0_1 28 Aug 2024 19:51:19
    |
Larry Rosenman (ler)  |
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) |
1.0 22 Aug 2024 02:16:18
    |
Larry Rosenman (ler)  |
sysutils/zfs-replicate: clean up GH_TAGNAME vs DISTVERSIONPREFIX
Per @vvd. |
1.0 22 Aug 2024 00:58:36
    |
Larry Rosenman (ler)  |
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) |
0.7_2 21 Aug 2024 21:53:52
    |
Larry Rosenman (ler)  |
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 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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) |
0.7_2 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
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 ) |
0.7_2 20 Jul 2022 14:23:05
    |
Tobias C. Berner (tcberner)  |
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 ) |
0.7_2 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.7_2 15 Sep 2019 02:46:37
  |
jgh  |
- 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) |
0.7_1 19 May 2016 10:53:06
  |
amdmi3  |
- Fix trailing whitespace in pkg-descrs, categories [p-x]*
Approved by: portmgr blanket |
0.7_1 01 Apr 2016 14:25:18
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
0.7_1 02 Mar 2016 05:41:04
  |
lwhsu  |
- Update maintainer's email address
Submitted by: maintainer (via facebook chat) |
0.7_1 19 Oct 2015 08:42:39
  |
koobs  |
sysutils/zfs-replicate: Fix WWW URL (404)
PR: 203830
Reported by: Yonas Yanfa <yonas fizk net>
Approved by: portmgr (blanket)
MFH: 2014Q4 |
0.7_1 29 Jul 2014 21:43:18
  |
adamw  |
Convert some more USE_BZIP2 to USES=tar:bzip2
Approved by: portmgr (not really, but touches unstaged ports) |
0.7_1 17 Jul 2014 08:57:51
  |
olgeni  |
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) |
0.7_1 27 Feb 2014 09:58:05
  |
ehaupt  |
- Support staging
- Use WWW: with a single space |
0.7_1 20 Sep 2013 23:06:00
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils) |
0.7_1 19 Mar 2011 12:38:54
 |
miwi  |
- Get Rid MD5 support |
0.7_1 22 Feb 2009 15:24:50
 |
beat  |
- Fix path to zfs utility
PR: ports/131966
Submitted by: Jui-Nan Lin <jnlin AT csie.nctu.edu.tw> (maintainer)
Approved by: miwi (mentor) |
0.7 12 Nov 2008 14:44:47
 |
amdmi3  |
- Update to 0.7
PR: 128812
Submitted by: Jui-Nan Lin <jnlin at csie dot nctu dot edu dot tw> (maintainer) |
0.4_1 14 Jun 2008 02:53:37
 |
wxs  |
Switch to pdksh instead of ksh93.
PR: ports/124555
Submitted by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw> (maintainer) |
0.4 26 May 2008 01:49:09
 |
vanilla  |
Add zfs-replicate 0.4, a ZFS Snapshot Replication Script.
PR: ports/123982
Submitted by: Jui-Nan Lin <jnlin at csie.nctu.edu.tw> |