Date: Thu, 22 Sep 2022 23:51:30 -1000 From: "parv/FreeBSD" <parv.0zero9+freebsd@gmail.com> To: David Christensen <dpchrist@holgerdanske.com> Cc: questions@freebsd.org Subject: Re: zfs replication tool Message-ID: <CABObuOpi2dQFFz3te-V6PX4xhzJmFzrZhr0U__q04%2BOwGFqPmg@mail.gmail.com> In-Reply-To: <498d478e-7fe7-1840-6263-930b498c5bbf@holgerdanske.com> References: <0a0ba81b-88f2-fa75-9abe-6f41da5d2c69@sentex.net> <20220916140236.jeizzganrtnsrhlo@x1> <20220920092905.3k7qzt7lvhywhcfn@x1> <20220920122029.ufsoyo47qnxtmcqk@x1> <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>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000006d5c705e955235f Content-Type: text/plain; charset="UTF-8" On Thu, Sep 22, 2022 at 10:58 PM David Christensen wrote: ... > 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? > 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. 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. - parv -- --00000000000006d5c705e955235f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:monospace">On Thu, Sep 22, 2022 at 10:58 PM David Christensen=C2= =A0 wrote:</div><div class=3D"gmail_default" style=3D"font-family:monospace= ">...<br></div></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_= quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,= 204);padding-left:1ex"> I wrote homebrew scripts to automate ZFS replication and I saw that <br> error message many times in the past.=C2=A0 The solution was to add the = 9;-F' <br> option to the 'zfs receive' commands.=C2=A0 Is there a way to do th= is with zrepl?<br></blockquote><div><br></div><div style=3D"font-family:mon= ospace" class=3D"gmail_default">That "-F" option, for "zfs-r= ecv(8)", will remove existing file system</div><div style=3D"font-fami= ly:monospace" class=3D"gmail_default">(on the receiver side). For the optio= n to work, existing snapshots would</div><div style=3D"font-family:monospac= e" class=3D"gmail_default">need to be destroyed first.</div><div style=3D"f= ont-family:monospace" class=3D"gmail_default"><br></div><div style=3D"font-= family:monospace" class=3D"gmail_default">That is useful if one wants to re= -set up backup file system & snapshots.</div><div style=3D"font-family:= monospace" class=3D"gmail_default">Else, what is even the point of incremen= tal snapshot back ups.<br></div><div style=3D"font-family:monospace" class= =3D"gmail_default"><br></div><div style=3D"font-family:monospace" class=3D"= gmail_default"><br></div><div style=3D"font-family:monospace" class=3D"gmai= l_default">- parv</div><div style=3D"font-family:monospace" class=3D"gmail_= default"><br></div><div style=3D"font-family:monospace" class=3D"gmail_defa= ult">-- <br></div><div style=3D"font-family:monospace" class=3D"gmail_defau= lt"></div><div>=C2=A0</div></div></div> --00000000000006d5c705e955235f--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABObuOpi2dQFFz3te-V6PX4xhzJmFzrZhr0U__q04%2BOwGFqPmg>