Support omitting datasets from automatic snapshotting.

This commit is contained in:
Tom Alexander
2023-08-20 23:12:09 -04:00
parent 221e91a56a
commit e478ca56aa
5 changed files with 10 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ jobs:
type: snap
filesystems: {
{% for dataset in zfs_snapshot_datasets %}
"{{dataset}}<": true,
"{{dataset.path}}<": {{dataset.include | default(true) | lower}},
{% endfor %}
}
# create snapshots with prefix `zrepl_` every 15 minutes