Journal File Question

Chris Buxton chris.p.buxton at gmail.com
Wed Jul 25 16:07:22 UTC 2012


On Jul 25, 2012, at 7:25 AM, WBrown at e1b.org wrote:

> Chris wrote on 07/25/2012 09:04:49 AM:
> 
>> Is it possible to restore a zone file from its associated journal file?
> 
> No.  The journal file only records updates to the zone.  At best you would 
> only recover the changes since last commit to the zone file.
> 
>> The docs seem to indicate that a restart of bind will sync the two
>> files, but in practice I get such as this:
> 
> It doesn't sync the files to make two equal copies. It applies all of the 
> outstanding transactions in the journal file to the zone file and then 
> empties the journal.

I don't believe that is entirely correct. The journal file needs to be retained to support ixfrs. My understanding is that it will be automatically trimmed to max-journal-size, if that option is set.

Chris Buxton
BlueCat Networks




More information about the bind-users mailing list