<div dir="ltr"><div dir="ltr"><div dir="ltr">Thanks Matus. </div><div dir="ltr"><br></div><div>Does bind keep the received messages for zone updates in queue during rndc freeze, and apply them after rndc thaw? I think that while rndc freeze is in effect, bind will ignore (and not keep) notify messages for zone updates. The drawback in this case is that a zone will only update again after the refresh interval. Please correct me if I'm wrong.</div><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 13, 2018 at 1:08 PM Matus UHLAR - fantomas <<a href="mailto:uhlar@fantomas.sk">uhlar@fantomas.sk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>On 12-Nov-18 14:39, Marcus Frenkel asked about backing up slave zone<br>
>files & bind's update mechanism:<br>
<br>
On 13.11.18 06:37, Timothe Litt wrote:<br>
>I believe you're asking the wrong questions and are likely to run into<br>
>complications.  You don't know when BIND will merge the journal, or that<br>
>rsync will atomically snapshot the zone file and the journal.  So you<br>
>will get a coherent copy of the the zone file - but it may be stale. <br>
>The journal may be earlier or later than the zone file, or it may be<br>
>incomplete. This means that a restore  may have the slave serve stale<br>
>data - until it queries the master for any updates & if necessary, fixes<br>
>the journal file.  If the master happens to be down, this is especially<br>
>suboptimal.<br>
><br>
>So I would exclude both files from rsync, and use another approach to<br>
>save a coherent copy of the zone file(s) in my backup procedure.<br>
<br>
rndc freeze can cause all journals to be synced and files saved.<br>
You can call this before backup and call rndc thaw after.<br>
<br>
-- <br>
Matus UHLAR - fantomas, <a href="mailto:uhlar@fantomas.sk" target="_blank">uhlar@fantomas.sk</a> ; <a href="http://www.fantomas.sk/" rel="noreferrer" target="_blank">http://www.fantomas.sk/</a><br>
Warning: I wish NOT to receive e-mail advertising to this address.<br>
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.<br>
Linux IS user friendly, it's just selective who its friends are...<br>
_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</blockquote></div></div></div></div>