From nobody Thu Aug 22 00:58:39 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wq4Zl4NcHz5TBng; Thu, 22 Aug 2024 00:58:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wq4Zl3tg1z4QsD; Thu, 22 Aug 2024 00:58:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724288319; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3E9Oswmc7L75tAaQhjsfnVnKuQTegIkZDDriWvExpQs=; b=nObxzaOgWogqoQnYIaVUa0X3Zp89jXHi2eChSKNQRbFKnLdAGMWGSVpB4JdpdkWoq9wMhn rrb5PTfnKO5hbjenEzofd5ssILaW1O8M+4y6/NokrLQ9YbjRYCFvs/AvGPy4WJQXlPWe8S b4HipVT2EsPvFcOGoomCCDe6xUOQm48mXQC/Chjzg5XaxUugcJ/F6YxFdnyUheO5wu8j0q ZSyHb7B3JLnRaUF0ZIcykeg0Xk+2cPFt8918aRbr12xE6NE5Bg5JWH6BviEX76nPtc3rWp UN4+xTpswDKmnjzhFTEkatk9E5kSteuZG2wma7iUyGmTJ+NJLOXKcSVhfTlJrg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724288319; a=rsa-sha256; cv=none; b=Jq4CIw26+9s1fcYqtMLHzM00xLs9yeFkM5dyPET4VbqIowpDhzYL3V8QxDV4i3foUIkPU5 bmosTrYiHbZyX1rsFI2+s7muTvrwWIsmXQCmR800zjm4z9ULWQKrfEwfvCwXuGEZB+lep/ bLg14ZqtjZEfsL97DKBLYLrkI/mN/cOrcmMcq7e3h6ebwPFLwpK6/zPsQg8RxqJ4/YCMTL q3TrQdQvDAvwoQG5liPjLJcDt9EI04hnAlibpnYawDBJZghYx0lz4gEfn16yYFFxqAO4og 9z+QIz2pwPVpUDix7Q+KE9CQqbEonsA5FCbRvtNulfBVKjc6EykK3/PZu2X8wg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724288319; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3E9Oswmc7L75tAaQhjsfnVnKuQTegIkZDDriWvExpQs=; b=ltUtz1E6/lrvYLvZqHLTR7huFTZtyVz504Rh78dsqaeU4yobsqSonkl4aQYbxi0jzmlvKn 89BErIAmlCdsr3out+N4D+Fcsv8iiN9JO2T6se9iCqFTom5UC6fXaiUrXzQRr9xRCDggKl Q4eg77qAUi7+zxVYPETHp+/QglAyEtXYkAIccQMGTcCeHvH9IgATeJtVqk8TGThtFNxhyS pXYCpCA3YfeP3Y86f3EwvE0JDmeGfj3HfTosZlFpGesJ1j+rHbxZ5C8QdAA6NxhHSlc3UP lqZ6SwR6YUuMPSz/dxkgl7wdcZJSh5WzszrMYXouLA5aCeR+6nivjaQ7TKKHkg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wq4Zl3Qkrz15xL; Thu, 22 Aug 2024 00:58:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47M0wdNx037175; Thu, 22 Aug 2024 00:58:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47M0wdYJ037172; Thu, 22 Aug 2024 00:58:39 GMT (envelope-from git) Date: Thu, 22 Aug 2024 00:58:39 GMT Message-Id: <202408220058.47M0wdYJ037172@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Larry Rosenman Subject: git: b3cf46924d98 - main - sysutils/zfs-replicate: update to 1.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ler X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b3cf46924d9855b5275b1d3275c1947b6756f124 Auto-Submitted: auto-generated The branch main has been updated by ler: URL: https://cgit.FreeBSD.org/ports/commit/?id=b3cf46924d9855b5275b1d3275c1947b6756f124 commit b3cf46924d9855b5275b1d3275c1947b6756f124 Author: Larry Rosenman AuthorDate: 2024-08-22 00:56:55 +0000 Commit: Larry Rosenman 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 (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.