summaryrefslogtreecommitdiffstats
path: root/doc/man_kjournalprint.rst
blob: 709e72c9bbbbdf61f0264c3f439891c58dca61f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.. highlight:: console

kjournalprint – Knot DNS journal print utility
==============================================

Synopsis
--------

:program:`kjournalprint` [*options*] *journal_dir* *zone_name*

Description
-----------

The program prints zone history stored in a journal database. As default,
changes are colored for terminal.

Options
.......

**-l**, **--limit** *limit*
  Limits the number of displayed changes.

**-s**, **--serial** *soa*
  Start at specific SOA serial.

**-d**, **--debug**
  Debug mode brief output.

**-n**, **--no-color**
  Removes changes coloring.

**-z**, **--zone-list**
  Instead of reading jurnal, display the list of zones in the DB.
  (*zone_name* not needed)

**-c**, **--check**
  Enable additional journal semantic checks during printing.

**-h**, **--help**
  Print the program help.

**-V**, **--version**
  Print the program version.

Parameters
..........

*journal_dir*
  A path to the journal database directory.

*zone_name*
  A name of the zone to print the history for.

Exit values
-----------

Exit status of 0 means successful operation. Any other exit status indicates
an error.

Examples
--------

Last (most recent) 5 changes without colors::

  $ kjournalprint -nl 5 /var/lib/knot/journal example.com.

See Also
--------

:manpage:`knotd(8)`, :manpage:`knot.conf(5)`.