From nobody Fri Sep 16 13:49:18 2022 X-Original-To: freebsd-questions@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 4MTb5v4ld9z4bvrX for ; Fri, 16 Sep 2022 13:49:23 +0000 (UTC) (envelope-from SRS0=r+R4=ZT=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4MTb5t3Jzbz3Pdd for ; Fri, 16 Sep 2022 13:49:22 +0000 (UTC) (envelope-from SRS0=r+R4=ZT=perdition.city=julien@bebif.be) Received: from x1 (unknown [10.209.1.149]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id 0ABB51C84C; Fri, 16 Sep 2022 15:49:22 +0200 (CEST) Date: Fri, 16 Sep 2022 15:49:18 +0200 From: Julien Cigar To: mike tancsa Cc: freebsd-questions@FreeBSD.org Subject: Re: zfs replication tool Message-ID: <20220916134918.hz6glg3nfwr3ouu4@x1> Mail-Followup-To: mike tancsa , freebsd-questions@FreeBSD.org References: <20220916133046.znfelln3fisrjnuz@x1> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yq4upd2i5r5bpxud" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4MTb5t3Jzbz3Pdd X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of "SRS0=r+R4=ZT=perdition.city=julien@bebif.be" designates 193.191.208.90 as permitted sender) smtp.mailfrom="SRS0=r+R4=ZT=perdition.city=julien@bebif.be" X-Spamd-Result: default: False [-4.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=r@bebif.be]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+mx:c]; RCVD_NO_TLS_LAST(0.10)[]; TAGGED_FROM(0.00)[R4=ZT=perdition.city=julien]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@FreeBSD.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=r@bebif.be]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[perdition.city]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --yq4upd2i5r5bpxud Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 16, 2022 at 09:37:39AM -0400, mike tancsa wrote: > On 9/16/2022 9:30 AM, Julien Cigar wrote: > > Hello, > >=20 > > I have the case here where I have to atomically snapshot recursively a > > dataset with many children (100+) but exclude a dozen of them. > >=20 > > There are dozen of ZFS replication tools and I was wondering which ones > > supports such case and are recommended? > >=20 > > It looks like "recursivity" in a lot of tools is handled through "zfs > > snapshot -r somepool" whereas ZFS also supports "zfs snapshot > > somepool/ds1 somepool/ds2 somepool/ds3/child1" which is also atomic >=20 > sysutils/zrepl works really well for me. >=20 > Check out the filter syntax to see if it meets your requirements >=20 > https://zrepl.github.io/configuration/filter_syntax.html >=20 > =C2=A0=C2=A0=C2=A0 ---Mike thanks, I used zrepl in the past and I experienced some deadlocks and=20 crashes which I why I switched to sanoid (which doesn't support=20 recursivity without zfs snapshot -r) >=20 >=20 >=20 --=20 Julien Cigar PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --yq4upd2i5r5bpxud Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmMkftsACgkQCLYqJMpB HmkCqBAAjIburYZmIXyy7GQnBvz2hQhqsHMwHOzJn3KMJ1cpVa7ebqFkT/FNhufn 9iM18aLj/mWy5z90EFeWbpJwHezoZf9QoRO1rfs+s4HdyrIhbnQLgu7sH2EbD6VI 9y7Z9dwNzXmB+7nJrqy72HJxe/DyjYNZEZWw4qEcLy2QocpjvHMH0UhCLkJcQDO+ 4xPRhgSZM+wAszPV6VIj1aNefDBqfJXF3gAeS6J3hvdJZsxDSYvSv2dJVe8CjbQp VCr2ZIXno+oruL43xNzheVpTFIid96yey8PYspMMRWxip+3PSRnnFFDY0iLM7V0C TQNAIr853X59kocI7xyQvs+yJtZhZjEdxJQHD/QeH8HqQiGd1q0/UAcHDsvOKn9J +RFK10kxlm8yp9Q1D+BDSWov5umbQ1goXbj2BzlIV2gqh3CktLTYKTEJHlDzQGM2 JZIVztDXCGzDCNQRbp5fx7chKwJLr3PSvkCuppSRZS1QJVr7VuWEsKeBrGr/1NRD LUBLL2eVyrE8jpy4ZeuHBIFVIKOqFXdCIL6A3YTiGmXQio8rwxVGhesG6wVTDnLy vqWBUycQrkgSN5mzn+57ObssTt4VWeZn+3RzMmt9CLQTkJnjm/f1M/uxMrnuj6Vm ImgjPjSTX6u1syl5DNMhmQSgJ/EIh8hgWMlkTsb9O7/z75X2Ws8= =o9bL -----END PGP SIGNATURE----- --yq4upd2i5r5bpxud--