Michael Grote
7a2ccbabb6
no more zfs send mirroring with rsync snaps an both sides Reviewed-on: #221 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
25 lines
923 B
Django/Jinja
25 lines
923 B
Django/Jinja
{{ file_header | default () }}
|
|
## ZFS Section -------------------------------- ##
|
|
{% for item in sanoid_datasets if item.snapshots is sameas true %}
|
|
[{{ item.path }}]
|
|
use_template = {{ item.template }}
|
|
recursive = {{ item.recursive }}
|
|
## -------------------------------------------- ##
|
|
{% endfor %}
|
|
|
|
## Template Section --------------------------- ##
|
|
{% for item in sanoid_templates %}
|
|
[template_{{ item.name }}]
|
|
## Keep-Rules
|
|
hourly = {{ item.keep_hourly }}
|
|
daily = {{ item.keep_daily }}
|
|
monthly = {{ item.keep_monthly }}
|
|
yearly = {{ item.keep_yearly }}
|
|
frequently = {{ item.frequently }}
|
|
## Interval
|
|
frequent_period = {{ item.frequent_period }}
|
|
## Other Options
|
|
autosnap = {{ item.autosnap }}
|
|
autoprune = {{ item.autoprune }}
|
|
## -------------------------------------------- ##
|
|
{% endfor %}
|