Re: zfs replication tool

From: mike tancsa <mike_at_sentex.net>
Date: Tue, 20 Sep 2022 14:15:13 UTC
On 9/20/2022 10:10 AM, Julien Cigar wrote:
> In our case, for our bare metal restoration, we have a separate config 
> file
>> to do restorations per server/vm where there are "special cases". Thankfully
>> there are not many and its all scriptable for restoration.
>>
>> For the A --> B -->C when we do are offload from B to C, we pick the
>> snapshots we want to send, place a hold on that snapshot and then do the
>> send (1.5 day process). Zrepl cries that it cant prune the snapshot. Once
>> the B-C process is complete, we remove the holds and zrepl happily deletes
>> the snapshots it thinks its supposed to delete.
> I see, is it necessary to place holds manually? I thought zrepl already
> does this by default

zrepl does indeed manages its own holds/releases. But without my holds 
that I place, I run the risk of having the snapshot pruned out from 
underneath me since the process of replicating to temporarily attached 
storage (C) takes longer than a day.

     ---Mike