Journal File Question

WBrown at WBrown at
Wed Jul 25 14:25:42 UTC 2012

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.
> zone journal rollforward failed: journal out of sync with 

Yep, the journal is out of sync because the zone file is non-existent.
> The problem here is that a large portion of the zone file was
> "accidentally" deleted.

Oops.  That's what backups are for.  Slaves are not backups.  However, you 
might be able to extract some meaningful data from the slave's zone file. 
It won't be pretty though.

Confidentiality Notice: 
This electronic message and any attachments may contain confidential or 
privileged information, and is intended only for the individual or entity 
identified above as the addressee. If you are not the addressee (or the 
employee or agent responsible to deliver it to the addressee), or if this 
message has been addressed to you in error, you are hereby notified that 
you may not copy, forward, disclose or use any part of this message or any 
attachments. Please notify the sender immediately by return e-mail or 
telephone and delete this message from your system.

More information about the bind-users mailing list