Add email reporting for autobackups (0.9.90)
This commit is contained in:
@ -74,6 +74,11 @@ pvc_autobackup:
|
||||
forced_full_time: "Mon *-*-* 0:0:00"
|
||||
full_interval: 7
|
||||
full_retention: 2
|
||||
reporting:
|
||||
enabled: no
|
||||
report_on:
|
||||
forced_full: no
|
||||
normal: no
|
||||
auto_mount:
|
||||
enabled: no
|
||||
packages:
|
||||
|
@ -5,4 +5,4 @@ Description=[Cron] PVC VM autobackup (forced-full)
|
||||
Type=oneshot
|
||||
IgnoreSIGPIPE=false
|
||||
KillMode=process
|
||||
ExecStart=/usr/bin/pvc --quiet vm autobackup --cron --force-full
|
||||
ExecStart=/usr/bin/pvc --quiet vm autobackup --cron --force-full {% if pvc_autobackup.reporting.enabled and pvc_autobackup.reporting.report_on.forced_full %}--email-report {{ pvc_autobackup.reporting.emails|join(',') }}{% endif %}
|
||||
|
@ -5,4 +5,4 @@ Description=[Cron] PVC VM autobackup (normal)
|
||||
Type=oneshot
|
||||
IgnoreSIGPIPE=false
|
||||
KillMode=process
|
||||
ExecStart=/usr/bin/pvc --quiet vm autobackup --cron
|
||||
ExecStart=/usr/bin/pvc --quiet vm autobackup --cron {% if pvc_autobackup.reporting.enabled and pvc_autobackup.reporting.report_on.normal %}--email-report {{ pvc_autobackup.reporting.emails|join(',') }}{% endif %}
|
||||
|
Reference in New Issue
Block a user