Debian Codegraph @

doc/man/named-journalprint.1in

raw
1 .\" Man page generated from reStructuredText
2 .\" by the Docutils 0.22.4 manpage writer.
3 .
4 .
5 .nr rst2man-indent-level 0
6 .
7 .de1 rstReportMargin
8 \\$1 \\n[an-margin]
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11 -
12 \\n[rst2man-indent0]
13 \\n[rst2man-indent1]
14 \\n[rst2man-indent2]
15 ..
16 .de1 INDENT
17 .\" .rstReportMargin pre:
18 . RS \\$1
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
22 ..
23 .de UNINDENT
24 . RE
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30 ..
31 .TH "NAMED-JOURNALPRINT" "1" "@RELEASE_DATE@" "@PACKAGE_VERSION@" "BIND 9"
32 .SH NAME
33 named-journalprint \- print zone journal in human-readable form
34 .SH SYNOPSIS
35 .sp
36 \fBnamed\-journalprint\fP [\-c serial] [\fB\-dux\fP] {journal}
37 .SH DESCRIPTION
38 .sp
39 \fBnamed\-journalprint\fP scans the contents of a zone journal file,
40 printing it in a human\-readable form, or, optionally, converting it
41 to a different journal file format.
42 .sp
43 Journal files are automatically created by \fBnamed\fP \%<#\:std-iscman-named> when changes are
44 made to dynamic zones (e.g., by \fBnsupdate\fP \%<#\:std-iscman-nsupdate>). They record each addition
45 or deletion of a resource record, in binary format, allowing the changes
46 to be re\-applied to the zone when the server is restarted after a
47 shutdown or crash. By default, the name of the journal file is formed by
48 appending the extension \fB\&.jnl\fP to the name of the corresponding zone
49 file.
50 .sp
51 \fBnamed\-journalprint\fP converts the contents of a given journal file
52 into a human\-readable text format. Each line begins with \fBadd\fP or \fBdel\fP,
53 to indicate whether the record was added or deleted, and continues with
54 the resource record in master\-file format.
55 .sp
56 The \fB\-c\fP (compact) option provides a mechanism to reduce the size of
57 a journal by removing (most/all) transactions prior to the specified
58 serial number. Note: this option \fImust not\fP be used while \fBnamed\fP \%<#\:std-iscman-named> is
59 running, and can cause data loss if the zone file has not been updated
60 to contain the data being removed from the journal. Use with extreme caution.
61 .sp
62 The \fB\-x\fP option causes additional data about the journal file to be
63 printed at the beginning of the output and before each group of changes.
64 .sp
65 The \fB\-u\fP (upgrade) and \fB\-d\fP (downgrade) options recreate the journal
66 file with a modified format version. The existing journal file is
67 replaced. \fB\-d\fP writes out the journal in the format used by
68 versions of BIND up to 9.16.11; \fB\-u\fP writes it out in the format used
69 by versions since 9.16.13. (9.16.12 is omitted due to a journal\-formatting
70 bug in that release.) Note that these options \fImust not\fP be used while
71 \fBnamed\fP \%<#\:std-iscman-named> is running.
72 .SH SEE ALSO
73 .sp
74 \fBnamed(8)\fP \%<#\:std-iscman-named>, \fBnsupdate(1)\fP \%<#\:std-iscman-nsupdate>, BIND 9 Administrator Reference Manual.
75 .SH Author
76 Internet Systems Consortium
77 .SH Copyright
78 2026, Internet Systems Consortium
79 .\" End of generated man page.