homeserver/roles/mgrote.sanoid/templates/sanoid.conf.j2

41 lines
1.9 KiB
Text
Raw Normal View History

2020-08-18 11:57:53 +02:00
## ZFS Section ##
{% 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 ##
[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
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
autosnap = {{ sanoid_template_daily_auto_snap }}
autoprune = {{ sanoid_template_daily_prune }}