git: b3cf46924d98 - main - sysutils/zfs-replicate: update to 1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 22 Aug 2024 00:58:39 UTC
The branch main has been updated by ler: URL: https://cgit.FreeBSD.org/ports/commit/?id=b3cf46924d9855b5275b1d3275c1947b6756f124 commit b3cf46924d9855b5275b1d3275c1947b6756f124 Author: Larry Rosenman <ler@FreeBSD.org> AuthorDate: 2024-08-22 00:56:55 +0000 Commit: Larry Rosenman <ler@FreeBSD.org> CommitDate: 2024-08-22 00:58:36 +0000 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/Makefile | 9 ++++----- sysutils/zfs-replicate/distinfo | 6 +++--- sysutils/zfs-replicate/pkg-descr | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/sysutils/zfs-replicate/Makefile b/sysutils/zfs-replicate/Makefile index 5fa3ee2cd24d..43a051c16721 100644 --- a/sysutils/zfs-replicate/Makefile +++ b/sysutils/zfs-replicate/Makefile @@ -1,11 +1,10 @@ PORTNAME= zfs-replicate -PORTVERSION= 0.7 -PORTREVISION= 2 +PORTVERSION= 1.0 CATEGORIES= sysutils MAINTAINER= tschetter.victor@gmail.com COMMENT= ZFS Snapshot Replication Script -WWW= https://github.com/leprechau/zfs-replicate +WWW= https://github.com/aaronhurt/zfs-replicate RUN_DEPENDS= bash:shells/bash @@ -22,8 +21,8 @@ PORTDOCS= README.md PORTDATA= config.sample.sh USE_GITHUB= yes -GH_ACCOUNT= leprechau -GH_TAGNAME= 17bf8fb +GH_ACCOUNT= tschettervictor +GH_TAGNAME= e21589e PLIST_FILES= sbin/zfs-replicate diff --git a/sysutils/zfs-replicate/distinfo b/sysutils/zfs-replicate/distinfo index 6cd91d21ed69..579deba2523f 100644 --- a/sysutils/zfs-replicate/distinfo +++ b/sysutils/zfs-replicate/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1567786202 -SHA256 (leprechau-zfs-replicate-0.7-17bf8fb_GH0.tar.gz) = a9c9f948abae7e7490ae69711946b63e7483cdab43709e92c0b495cbdfef3f9f -SIZE (leprechau-zfs-replicate-0.7-17bf8fb_GH0.tar.gz) = 5497 +TIMESTAMP = 1724287476 +SHA256 (tschettervictor-zfs-replicate-1.0-e21589e_GH0.tar.gz) = 1613fb2a599428441e77c85315e8ff9cff80bb9dcb2605eda1881095447e07a0 +SIZE (tschettervictor-zfs-replicate-1.0-e21589e_GH0.tar.gz) = 6822 diff --git a/sysutils/zfs-replicate/pkg-descr b/sysutils/zfs-replicate/pkg-descr index 0ad3179e27d7..e711cf2aa663 100644 --- a/sysutils/zfs-replicate/pkg-descr +++ b/sysutils/zfs-replicate/pkg-descr @@ -1,2 +1,2 @@ -Simple script to replicate zfs volumes between hosts +Advanced ZFS replication script to replicate zfs datasets/volumes between hosts (or between pools on the same host) via incremental snapshots.