mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-24 17:35:01 +01:00
docs: promote test subcommand
This commit is contained in:
parent
56f13741f9
commit
a622ef1487
@ -82,6 +82,10 @@ The example is from the :sampleconf:`localbackup/host1.yml` example config.
|
||||
zroot/poudriere/ports/2017Q3 => NOT MAPPED
|
||||
zroot/poudriere/ports/HEAD => NOT MAPPED
|
||||
|
||||
.. TIP::
|
||||
|
||||
You can try out patterns for a configured job using the ``zrepl test`` subcommand.
|
||||
|
||||
.. _pattern-filter:
|
||||
|
||||
Filters
|
||||
|
@ -31,3 +31,9 @@ Alternatively, for default settings, the following should to the trick.
|
||||
chmod -R 0700 /var/run/zrepl
|
||||
|
||||
|
||||
----------
|
||||
Validating
|
||||
----------
|
||||
|
||||
The config can be validated using the ``zrepl test`` subcommand.
|
||||
|
||||
|
@ -12,6 +12,10 @@ Check the respective :ref:`job definition <job>` for details.
|
||||
|
||||
Currently, the :ref:`prune-retention-grid` is the only supported pruning policy.
|
||||
|
||||
.. TIP::
|
||||
|
||||
You can perform a dry-run of a job's pruning policy using the ``zrepl test`` subcommand.
|
||||
|
||||
.. _prune-retention-grid:
|
||||
|
||||
Retention Grid
|
||||
|
@ -25,6 +25,8 @@ CLI Overview
|
||||
- control / query the daemon
|
||||
* - ``zrepl control status``
|
||||
- show job activity / monitoring (``--format raw``)
|
||||
* - ``zrepl test``
|
||||
- test configuration, try pattern syntax, dry run pruning policy, etc.
|
||||
* - ``zrepl stdinserver``
|
||||
- see :ref:`transport-ssh+stdinserver`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user