Date: Fri, 23 Sep 2022 14:43:13 +0200 From: Julien Cigar <julien@perdition.city> To: parv/FreeBSD <parv.0zero9+freebsd@gmail.com>, David Christensen <dpchrist@holgerdanske.com>, questions@freebsd.org Subject: Re: zfs replication tool Message-ID: <20220923124313.jkkbfsgvntrrjeqt@x1> In-Reply-To: <20220923112417.bipcilmkothsvvxr@x1> References: <20220920132503.8bfd124b9697d90e474086b3@sohara.org> <20220920125154.n7lcqr3xzhsrylzr@x1> <20220920142314.df043149e82d63cbd289a92e@sohara.org> <4cf58433-a13b-9b35-fc3e-8fad6b2ac93d@sentex.net> <20220920141006.n6x6mxpafy3zqpk3@x1> <b7586c2c-f435-334c-dff8-f7388163fa75@sentex.net> <20220923080305.alrgrrnxljtweo3i@x1> <498d478e-7fe7-1840-6263-930b498c5bbf@holgerdanske.com> <CABObuOpi2dQFFz3te-V6PX4xhzJmFzrZhr0U__q04%2BOwGFqPmg@mail.gmail.com> <20220923112417.bipcilmkothsvvxr@x1>
next in thread | previous in thread | raw e-mail | index | archive | help
--qlhz2hkcwn5dagfc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 23, 2022 at 01:24:17PM +0200, Julien Cigar wrote: > 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. >=20 > 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. setting mountpoint=3Dnone on the target dataset fixed the issue.=20 Apparently mounting a dataset, even as read-only, somewhat "alters" it=20 and incremental snapshot replication fails afterwards. So I'm setting mountpoint=3Dnone and switched to clones and promotes >=20 > >=20 > >=20 > > - parv > >=20 > > -- >=20 > --=20 > Julien Cigar > PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 >=20 > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. --=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. --qlhz2hkcwn5dagfc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmMtqd4ACgkQCLYqJMpB HmlCtg//Qfm3SO3F7+x2YzXuQnYp+YxZ8tTQFQ0JjmGXcPNtx/n7SAT+5RFAPMbV L7CB8wx4UKVkx98326h30hwjJ87htRzKkLxexb8NyajZ5UOvJOVvHHVycIQNiDYX aYjO6Hy3IgAXusCi9dG6mp0oQQNBJomcru7X6YEO3CzBv6zjFhIXMVOdymPU54dj R1T+fxcL8X91J2ZOfzkfX6IrBN7uuUWANgccNoKUNys7+LSGflJi6Sx0S8S4sYBQ Nca1//24q98Vxtg/565hLZMh7iE8BeoREx9tLrUYNmNYtS8sG0xlq12sUem1q0+f NNvdiDjigl+94cIt9s8hWRS7x2QKHJfLr0NR8PnTUaXab1wI6xWWzGmFOBDtXTRU iH3N23707HF0H2OEkqyYLpmx7CF+N0HFKtYQ2AwZ6tNOJ94/BGUiVBnSwieozO0J SbZJgRVuASf+WQZXhjADmLsm40/F7Y0yJKrX1T8+tW8wOt8r0BvGMLeH2bZsfpT/ ZG14ixgBp3WUFwoAX6sqxA+ypouU8i5jVZXeuudlnYpkJhVQXSGs8rLfL/0+yKTb jLgBC+wOkbrEbtsQxDGDQf2ThdiWAFtKvHE2lBnKGlcyGvf4aF2hAdoeY7zP4CVQ Vr7moN+utX0HDWMOFE12p97Kst1y/DVXXXXwZO+NNV9jmTDW5+o= =2FXy -----END PGP SIGNATURE----- --qlhz2hkcwn5dagfc--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220923124313.jkkbfsgvntrrjeqt>