Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2022 09:37:39 -0400
From:      mike tancsa <mike@sentex.net>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: zfs replication tool
Message-ID:  <d952d824-bcab-cfef-1b95-a8e71388c588@sentex.net>
In-Reply-To: <20220916133046.znfelln3fisrjnuz@x1>
References:  <20220916133046.znfelln3fisrjnuz@x1>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d952d824-bcab-cfef-1b95-a8e71388c588>