man_kjournalprint.rst 1.04 KB
Newer Older
1 2 3 4 5 6 7 8
.. highlight:: console

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

Synopsis
--------

9
:program:`kjournalprint` [*options*] *journal_db* *zone_name*
10 11 12 13

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

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

17 18
Options
.......
19 20 21 22

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

Libor Peltan's avatar
Libor Peltan committed
23 24 25
**-d**, **--debug**
  Debug mode brief output.

26 27 28 29 30 31
**-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)
32

33 34 35 36 37 38
**-h**, **--help**
  Print the program help.

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

39 40
Parameters
..........
41

42 43
*journal_db*
  A path to the journal database.
44

45 46
*zone_name*
  A name of the zone to print the history for.
47 48 49 50

Examples
--------

51
Last (most recent) 5 changes without colors::
52

53
  $ kjournalprint -nl 5 /var/lib/knot/journal example.com.
54 55 56 57 58

See Also
--------

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