From nobody Tue Sep 20 13:33:58 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 4MX2ZM3M99z4cDZX for ; Tue, 20 Sep 2022 13:34:03 +0000 (UTC) (envelope-from SRS0=2GvD=ZX=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 4MX2ZL4RBWz3QHn for ; Tue, 20 Sep 2022 13:34:02 +0000 (UTC) (envelope-from SRS0=2GvD=ZX=perdition.city=julien@bebif.be) Received: from x1 (unknown [10.209.1.149]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id 1D9BF1D15A; Tue, 20 Sep 2022 15:34:01 +0200 (CEST) Date: Tue, 20 Sep 2022 15:33:58 +0200 From: Julien Cigar To: mike tancsa Cc: freebsd-questions@FreeBSD.org Subject: Re: zfs replication tool Message-ID: <20220920133358.2ffpqpw3di7w4buw@x1> Mail-Followup-To: mike tancsa , freebsd-questions@FreeBSD.org References: <20220916133046.znfelln3fisrjnuz@x1> <20220916134918.hz6glg3nfwr3ouu4@x1> <0a0ba81b-88f2-fa75-9abe-6f41da5d2c69@sentex.net> <20220916140236.jeizzganrtnsrhlo@x1> <20220920092905.3k7qzt7lvhywhcfn@x1> <20220920122029.ufsoyo47qnxtmcqk@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="ikqn5vi5adlwsk5f" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4MX2ZL4RBWz3QHn X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of "SRS0=2GvD=ZX=perdition.city=julien@bebif.be" designates 193.191.208.90 as permitted sender) smtp.mailfrom="SRS0=2GvD=ZX=perdition.city=julien@bebif.be" X-Spamd-Result: default: False [-4.49 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_LONG(-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=2GvD=ZX=perdition.city=julien@bebif.be]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; MLMMJ_DEST(0.00)[freebsd-questions@FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=2GvD=ZX=perdition.city=julien@bebif.be]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[perdition.city]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --ikqn5vi5adlwsk5f Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 20, 2022 at 09:00:39AM -0400, mike tancsa wrote: > On 9/20/2022 8:20 AM, Julien Cigar wrote: > > it looks like zrepl snapshots aren't atomic across datasets too. I'm > > > testing on a local "test" machine and it gives me https://gist.github= =2Ecom/silenius/b8aaf68dae5c941397df44184cd33d7b > > also the thing I don't like with zrepl is that snapshot management and > > replication are tightly coupled. It looks like replicating a host "A" to > > "B" and "C" (classical local and off-site backup) is not possible > > without dirty hacks and race conditions ... >=20 > Yes, this is lacking for sure.=C2=A0 We have this need as well (replicati= on / > backups from A to B and then send periodically what is on B to offsite / > disconnected storage). Its something we grafted on after the fact to fit = our > needs and works OK'ish / well enough.=C2=A0 However, TBF, I havent looked= at > their documentation in a while to see if newer versions have this feature= or > if its on their roadmap. OK, so if I understand well you didn't followed/implemented something like:= =20 https://zrepl.github.io/quickstart/fan_out_replication.html (separate snap job, one source per client, ...) but replicate to offsite manually (in a cron job-like ?)? Thanks :) >=20 > =C2=A0=C2=A0=C2=A0 ---Mike >=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. --ikqn5vi5adlwsk5f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmMpwUIACgkQCLYqJMpB HmnX1w//TtAfG6M5/LLvyn+nPV3bDNW91SXKxAS2e4cjtCe+Kw0ZAtkAQqy+shxZ PdtsIh7ftub6fs7a/5Jc2YWf1d0/plfYIgbTELKFpzn6yGAiDbK3jPg78ub2rOzz q+8z1p0lKExFFsveocBlTfqnUE5cZmZeD0fsjjwYtH7PUxCPXdcOIboYRnb2FF/s w8cIDMkrbEqXDAizaaZ1z0ziQQ07U/U3m8r/ljx5gWywhylAPxpzljmAzEZ3zvUc 6kRSqyJ8OvdVzGLPFpuID3p3+W6B8DpHFBN6A/jQkjsGJ8iNjOgr+l48Z/eZAhxp mDLjjgaEa2wMrSw1D5XeOirScjSZg636YyvV7U8xE1dpCc5Ro6KS4MYRF4FgSrP2 rp0KWynZMSxqxiiRevb8BnznTcKBrrjqMPNqjhvoHsgPPWHMAHTS+UWtmse7mdrs kLXlk6vX00nmaY1RVW6UTebL8HjZP2rFe68hxj/TfVMZUSqWBIuM9HmmHv0ogU9H I7p2BQwtOJWjlTI386NyNLUOZCJizW5jZPlvW4461CX17qHdap8NMtfk57FqW3cJ /RHabI3LNd6csQSYBA8hORjyu1O7Eh+d8odPo1ItzjjeW8p9CheUD8xrn4Jd8eWB XgYfDw/0XtbMw7Fpij5Juf6qqgyknSuO3C9WgvIPVjHpP319LSE= =U8Um -----END PGP SIGNATURE----- --ikqn5vi5adlwsk5f--