From nobody Fri Sep 23 11:24:17 2022 X-Original-To: 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 4MYqYM5PWwz4cmc3 for ; Fri, 23 Sep 2022 11:24:23 +0000 (UTC) (envelope-from SRS0=BMP7=Z2=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 4MYqYL5CGWz3w1t for ; Fri, 23 Sep 2022 11:24:22 +0000 (UTC) (envelope-from SRS0=BMP7=Z2=perdition.city=julien@bebif.be) Received: from x1 (unknown [10.209.1.149]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id 03CB21DB00; Fri, 23 Sep 2022 13:24:21 +0200 (CEST) Date: Fri, 23 Sep 2022 13:24:17 +0200 From: Julien Cigar To: parv/FreeBSD Cc: David Christensen , questions@freebsd.org Subject: Re: zfs replication tool Message-ID: <20220923112417.bipcilmkothsvvxr@x1> Mail-Followup-To: parv/FreeBSD , David Christensen , questions@freebsd.org References: <20220920122029.ufsoyo47qnxtmcqk@x1> <20220920132503.8bfd124b9697d90e474086b3@sohara.org> <20220920125154.n7lcqr3xzhsrylzr@x1> <20220920142314.df043149e82d63cbd289a92e@sohara.org> <4cf58433-a13b-9b35-fc3e-8fad6b2ac93d@sentex.net> <20220920141006.n6x6mxpafy3zqpk3@x1> <20220923080305.alrgrrnxljtweo3i@x1> <498d478e-7fe7-1840-6263-930b498c5bbf@holgerdanske.com> 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="camcxlyqqb44p3u7" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4MYqYL5CGWz3w1t X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of "SRS0=BMP7=Z2=perdition.city=julien@bebif.be" designates 193.191.208.90 as permitted sender) smtp.mailfrom="SRS0=BMP7=Z2=perdition.city=julien@bebif.be" X-Spamd-Result: default: False [-4.44 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.94)[-0.940]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=BMP7=Z2=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)[]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=BMP7=Z2=perdition.city=julien@bebif.be]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; FREEMAIL_TO(0.00)[gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[perdition.city]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCPT_COUNT_THREE(0.00)[3]; TAGGED_RCPT(0.00)[freebsd]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --camcxlyqqb44p3u7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 22, 2022 at 11:51:30PM -1000, parv/FreeBSD wrote: > On Thu, Sep 22, 2022 at 10:58 PM David Christensen wrote: > ... >=20 > > I wrote homebrew scripts to automate ZFS replication and I saw that > > error message many times in the past. The solution was to add the '-F' > > option to the 'zfs receive' commands. Is there a way to do this with > > zrepl? > > >=20 > That "-F" option, for "zfs-recv(8)", will remove existing file system > (on the receiver side). For the option to work, existing snapshots would > need to be destroyed first. >=20 > That is useful if one wants to re-set up backup file system & snapshots. > Else, what is even the point of incremental snapshot back ups. it looks like there is no way to specify a -F on the receive side with zrepl.. my problem looks like https://github.com/zrepl/zrepl/issues/408 issue. >=20 >=20 > - parv >=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. --camcxlyqqb44p3u7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmMtl14ACgkQCLYqJMpB HmnPqRAAgIZLvI5a10J55B/DZPniEZKdkBaLxZfY7Jxg8PG+5tMQqjkMWeO8vc4v JgWOX7/sQp+2gSf5adFq4KiPfcxE1iA2ww9PDZSny+XIbTji1T2XvEA3Uaj0P9Gp H7VEno1GcxDxt9kWUrQKsgv9wVo8SJZF3pK8TIlmeuOjLettP/vByzmWOJD1rBvr HUFGE1q9AQKC6cWqA5k+tHgrqwfk9vmy37R+9chHjR/Yvuo7apxrlJnO6eIvtXQ3 8suRD5yM8bexYRZ6s4s1O1jM/eJPYCdJWqQGBcU/R6T8nlooPa8ppOhHnvX7/0fi Yq6VCwHOGaxvS4tna5j0IOAq/loF29X+XlD2sFlAT5RqSHnKaqRdYaCjV4nNVt3A +Lvj5S8DcTUJkZGxRkx2x7omg4NCX08+IJquhSEVE+JxEbbnahKHlmxS3VR33zmm sUQkRIHsJYadAt2q9rgu1pEQu0O+xoIpdIJJ56wmZpbX8oZZh84ZvtEMYgr2bnh0 dk693QR3xxWUYl7IGhrWE+PuulqPiUFASpqpi+JWcla5ums4Nbtnrkn86gcs9IpI LUjk95kiAu7xcnUsP9tzvoMVUpatE9lcUbbkiD2lf/1zJ3SnLyNPy5+VVyqtaULC t5ah1xzch39zDiLhKj+kUcxtZ8kdI9DU177+PfgTWe2xXVN1hDQ= =4ZYV -----END PGP SIGNATURE----- --camcxlyqqb44p3u7--