summaryrefslogtreecommitdiffstats
path: root/doc/man_kjournalprint.rst
blob: f8868dda09ad257cf6b92e46cbd1390e266fed8e (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
.. highlight:: console

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

Synopsis
--------

:program:`kjournalprint` [*options*] *journal_db* *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.

**-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)

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

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

Parameters
..........

*journal_db*
  A path to the journal database.

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

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)`.