2020-08-18 11:57:53 +02:00
|
|
|
## ZFS Section ##
|
2020-12-30 23:49:26 +01:00
|
|
|
{% for item in sanoid_datasets %}
|
|
|
|
[{{ item.path }}]
|
|
|
|
use_template = {{ item.template }}
|
|
|
|
recursive = {{ item.recursive }}
|
|
|
|
## ----------- ##
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
2020-08-18 11:57:53 +02:00
|
|
|
|
|
|
|
## Template Section ##
|
2020-12-30 23:49:26 +01:00
|
|
|
[template_fiveminutes]
|
|
|
|
## Keep-Rules
|
|
|
|
hourly = {{ sanoid_template_fiveminutes_snapshot_keep_hourly }}
|
|
|
|
daily = {{ sanoid_template_fiveminutes_snapshot_keep_daily }}
|
|
|
|
monthly = {{ sanoid_template_fiveminutes_snapshot_keep_monthly }}
|
|
|
|
yearly = {{ sanoid_template_fiveminutes_snapshot_keep_yearly }}
|
|
|
|
frequently = {{ sanoid_template_fiveminutes_snapshot_keep_underhour }}
|
|
|
|
## Underhour intervall
|
|
|
|
frequent_period = {{ sanoid_template_fiveminutes_snapshot_interval_underhour }}
|
|
|
|
## Other Options
|
|
|
|
autosnap = {{ sanoid_template_fiveminutes_auto_snap }}
|
|
|
|
autoprune = {{ sanoid_template_fiveminutes_prune }}
|
|
|
|
[template_hourly]
|
|
|
|
## Keep-Rules
|
|
|
|
hourly = {{ sanoid_template_hourly_snapshot_keep_hourly }}
|
|
|
|
daily = {{ sanoid_template_hourly_snapshot_keep_daily }}
|
|
|
|
monthly = {{ sanoid_template_hourly_snapshot_keep_monthly }}
|
|
|
|
yearly = {{ sanoid_template_hourly_snapshot_keep_yearly }}
|
|
|
|
## Other Options
|
|
|
|
autosnap = {{ sanoid_template_hourly_auto_snap }}
|
|
|
|
autoprune = {{ sanoid_template_hourly_prune }}
|
|
|
|
[template_daily]
|
2020-08-18 11:57:53 +02:00
|
|
|
## Keep-Rules
|
2020-12-30 23:49:26 +01:00
|
|
|
daily = {{ sanoid_template_daily_snapshot_keep_daily }}
|
|
|
|
monthly = {{ sanoid_template_daily_snapshot_keep_monthly }}
|
|
|
|
yearly = {{ sanoid_template_daily_snapshot_keep_yearly }}
|
2020-08-18 11:57:53 +02:00
|
|
|
## Other Options
|
2020-12-30 23:49:26 +01:00
|
|
|
autosnap = {{ sanoid_template_daily_auto_snap }}
|
|
|
|
autoprune = {{ sanoid_template_daily_prune }}
|