summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-05-01 22:14:51 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-05-01 22:14:51 +0200
commitc3422a919cd2be0f588407cf8a4055aee9137b7c (patch)
treed20150dece2362ad89377586e96930e8712e2d67
parentinstall python3 plotly and pandas for ch-equinox-* (diff)
ch-prometheus exclude storage/backups from epimetheus backup for now
-rw-r--r--inventory/host_vars/ch-epimetheus.yml1
-rw-r--r--roles/storage/zfs/sanoid/defaults/main.yml2
-rw-r--r--roles/storage/zfs/syncoid/templates/systemd.service.j22
3 files changed, 3 insertions, 2 deletions
diff --git a/inventory/host_vars/ch-epimetheus.yml b/inventory/host_vars/ch-epimetheus.yml
index 8b816097..61e5c758 100644
--- a/inventory/host_vars/ch-epimetheus.yml
+++ b/inventory/host_vars/ch-epimetheus.yml
@@ -68,4 +68,5 @@ zfs_syncoid_sources:
recursive: yes
skip_parent: yes
exclude:
+ - '^storage/backups'
- '^storage/vm'
diff --git a/roles/storage/zfs/sanoid/defaults/main.yml b/roles/storage/zfs/sanoid/defaults/main.yml
index f48e9fd2..68a3888f 100644
--- a/roles/storage/zfs/sanoid/defaults/main.yml
+++ b/roles/storage/zfs/sanoid/defaults/main.yml
@@ -13,7 +13,7 @@ zfs_sanoid_templates:
backup:
frequently: 0
- hourly: 0
+ hourly: 36
daily: 60
monthly: 6
yearly: 0
diff --git a/roles/storage/zfs/syncoid/templates/systemd.service.j2 b/roles/storage/zfs/syncoid/templates/systemd.service.j2
index 5a6eba97..f55539ac 100644
--- a/roles/storage/zfs/syncoid/templates/systemd.service.j2
+++ b/roles/storage/zfs/syncoid/templates/systemd.service.j2
@@ -1,5 +1,5 @@
[Unit]
-Description=Schlagergarten Stream Stats Collector
+Description=run syncoid based backup for {{ item.key }}
[Service]
Type=oneshot