Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2022 09:39:37 -0400
From:      mike tancsa <mike@sentex.net>
To:        "Steve O'Hara-Smith" <steve@sohara.org>, Julien Cigar <julien@perdition.city>
Cc:        questions@freebsd.org
Subject:   Re: zfs replication tool
Message-ID:  <4cf58433-a13b-9b35-fc3e-8fad6b2ac93d@sentex.net>
In-Reply-To: <20220920142314.df043149e82d63cbd289a92e@sohara.org>
References:  <20220916133046.znfelln3fisrjnuz@x1> <d952d824-bcab-cfef-1b95-a8e71388c588@sentex.net> <20220916134918.hz6glg3nfwr3ouu4@x1> <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>

next in thread | previous in thread | raw e-mail | index | archive | help

On 9/20/2022 9:23 AM, Steve O'Hara-Smith wrote:
> On Tue, 20 Sep 2022 14:51:54 +0200
> Julien Cigar <julien@perdition.city> wrote:
>
>> as of 0.5.0 it is possible to transfer properties I think
> 	Ooh time to RTFM again :)

Its kind of a messy problem (properties) and has lots of foot shooting 
possibilities.

https://zrepl.github.io/configuration/sendrecvoptions.html?highlight=properties#job-note-property-replication

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.

     ---Mike





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4cf58433-a13b-9b35-fc3e-8fad6b2ac93d>