mirror of
https://github.com/zrepl/zrepl.git
synced 2025-03-30 18:27:21 +02:00
Fixed docs compilation errors
This commit is contained in:
parent
4533918d90
commit
fe8bc50527
@ -13,10 +13,10 @@ The list of included paths must point to either individual YAML files or directo
|
|||||||
If the path points to a directory then all YAML files with a `.yml` extention in the
|
If the path points to a directory then all YAML files with a `.yml` extention in the
|
||||||
directory will be included.
|
directory will be included.
|
||||||
|
|
||||||
::
|
.. code-block:: yaml
|
||||||
global: ...
|
|
||||||
|
|
||||||
include:
|
global: ...
|
||||||
|
include:
|
||||||
- ./jobs.d/
|
- ./jobs.d/
|
||||||
- ./more_jobs.d/job.yml
|
- ./more_jobs.d/job.yml
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ directory will be included.
|
|||||||
.. NOTE::
|
.. NOTE::
|
||||||
The included path is treated as absolute when starting with `/` else it
|
The included path is treated as absolute when starting with `/` else it
|
||||||
is treated as a relative path that is added to the filepath.Dir() of the
|
is treated as a relative path that is added to the filepath.Dir() of the
|
||||||
:ref:`main config file path <overview-terminology>` used by the daemon.
|
:doc:`main config file path <overview>` used by the daemon.
|
||||||
|
|
||||||
|
|
||||||
Included configuration files can only specify the following keys:
|
Included configuration files can only specify the following keys:
|
||||||
@ -44,27 +44,29 @@ configuration file.
|
|||||||
Examples
|
Examples
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
Main configuration file:
|
Main configuration file ( ``/etc/zrepl/zrepl.yml`` ):
|
||||||
::
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
global: ...
|
global: ...
|
||||||
> /etc/zrepl/zrepl.yml
|
|
||||||
include:
|
include:
|
||||||
- ./jobs.d/
|
- ./jobs.d/
|
||||||
|
|
||||||
Included configuration file:
|
Included configuration file ( ``/etc/zrepl/jobs.d/MyDataSet.yml`` ):
|
||||||
::
|
|
||||||
> /etc/zrepl/jobs.d/MyDataSet.yml
|
.. code-block:: yaml
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- name: snapjob
|
- name: snapjob
|
||||||
type: snap
|
type: snap
|
||||||
filesystems: {
|
filesystems: {
|
||||||
"MyPool/MyDataset<": true,
|
"MyPool/MyDataset<": true,
|
||||||
}
|
}
|
||||||
snapshotting:
|
snapshotting:
|
||||||
type: periodic
|
type: periodic
|
||||||
interval: 2m
|
interval: 2m
|
||||||
prefix: zrepl_snapjob_
|
prefix: zrepl_snapjob_
|
||||||
pruning:
|
pruning:
|
||||||
keep:
|
keep:
|
||||||
- type: last_n
|
- type: last_n
|
||||||
count: 60
|
count: 60
|
||||||
|
Loading…
Reference in New Issue
Block a user