From c3422a919cd2be0f588407cf8a4055aee9137b7c Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 1 May 2021 22:14:51 +0200 Subject: ch-prometheus exclude storage/backups from epimetheus backup for now --- inventory/host_vars/ch-epimetheus.yml | 1 + roles/storage/zfs/sanoid/defaults/main.yml | 2 +- roles/storage/zfs/syncoid/templates/systemd.service.j2 | 2 +- 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 -- cgit v1.2.3