2021-03-07 19:40:32 +01:00
|
|
|
{{ file_header | default () }}
|
2020-12-31 01:36:22 +01:00
|
|
|
## ZFS Section -------------------------------- ##
|
2021-03-19 23:07:23 +01:00
|
|
|
{% for item in sanoid_datasets if item.snapshots is sameas true %}
|
2020-12-30 23:49:26 +01:00
|
|
|
[{{ item.path }}]
|
|
|
|
use_template = {{ item.template }}
|
|
|
|
recursive = {{ item.recursive }}
|
2020-12-31 01:36:22 +01:00
|
|
|
## -------------------------------------------- ##
|
2020-12-30 23:49:26 +01:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
2020-08-18 11:57:53 +02:00
|
|
|
|
2020-12-31 01:36:22 +01:00
|
|
|
## Template Section --------------------------- ##
|
|
|
|
{% for item in sanoid_templates %}
|
|
|
|
[template_{{ item.name }}]
|
2020-12-30 23:49:26 +01:00
|
|
|
## Keep-Rules
|
2020-12-31 01:36:22 +01:00
|
|
|
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 }}
|
2020-12-30 23:49:26 +01:00
|
|
|
## Other Options
|
2020-12-31 01:36:22 +01:00
|
|
|
autosnap = {{ item.autosnap }}
|
|
|
|
autoprune = {{ item.autoprune }}
|
|
|
|
## -------------------------------------------- ##
|
|
|
|
{% endfor %}
|