Re: zfs replication tool
- Reply: mike tancsa : "Re: zfs replication tool"
- In reply to: mike tancsa : "Re: zfs replication tool"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Sep 2022 13:49:18 UTC
On Fri, Sep 16, 2022 at 09:37:39AM -0400, mike tancsa wrote: > On 9/16/2022 9:30 AM, Julien Cigar wrote: > > Hello, > > > > I have the case here where I have to atomically snapshot recursively a > > dataset with many children (100+) but exclude a dozen of them. > > > > There are dozen of ZFS replication tools and I was wondering which ones > > supports such case and are recommended? > > > > It looks like "recursivity" in a lot of tools is handled through "zfs > > snapshot -r somepool" whereas ZFS also supports "zfs snapshot > > somepool/ds1 somepool/ds2 somepool/ds3/child1" which is also atomic > > 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) > > > -- 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.