Re: zfs replication tool

From: Julien Cigar <julien_at_perdition.city>
Date: Tue, 20 Sep 2022 12:20:29 UTC
On Tue, Sep 20, 2022 at 11:29:05AM +0200, Julien Cigar wrote:
> On Fri, Sep 16, 2022 at 04:02:36PM +0200, Julien Cigar wrote:
> > On Fri, Sep 16, 2022 at 09:56:36AM -0400, mike tancsa wrote:
> > > On 9/16/2022 9:49 AM, Julien Cigar wrote:
> > > > sysutils/zrepl works really well for me.
> > > > > Check out the filter syntax to see if it meets your requirements
> > > > > 
> > > > > https://zrepl.github.io/configuration/filter_syntax.html
> > > > > 
> > > > >      ---Mike
> > > > thanks, I used zrepl in the past and I experienced some deadlocks and
> > > > crashes which I why I switched to sanoid (which doesn't support
> > > > recursivity without zfs snapshot -r)
> > > 
> > > Those deadlocks / crashes (if they are the ones I was thinking about) were
> > > FreeBSD bugs in the end
> > > 
> > > https://github.com/freebsd/freebsd-src/commit/1820ca2154611d6f27ce5a5fdd561a16ac54fdd8
> > > 
> > > https://github.com/zrepl/zrepl/issues/411#issuecomment-821878812
> > > 
> > > Its been rock solid for me since those commits / fixes
> > 
> > ok, I'll give zrepl another chance :) thanks for pointing this!
> 
> 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.com/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 ...

> 
> > 
> > > 
> > >     ---Mike
> > > 
> > > 
> > > 
> > > 
> > 
> > -- 
> > 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.
> 
> 
> 
> -- 
> 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.



-- 
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.