homeserver/roles/mgrote.pbs_datastores/templates/prune-jobs.j2
mg 154fc0ef58 neuer Backup-Server (pbs) (#538)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #538
2023-06-23 16:04:19 +02:00

16 lines
441 B
Django/Jinja

{% if pbs_prune_jobs is defined %}
{% for item in pbs_prune_jobs %}
prune: {{ item.name }}
keep-daily {{ item.keep_daily }}
keep-hourly {{ item.keep_hourly }}
keep-last {{ item.keep_last }}
keep-weekly {{ item.keep_weekly }}
ns
schedule {{ item.schedule }}
store {{ item.store }}
{% endfor %}
{% endif %}
{# das leerzeichen hinter ns ist wichtig, sonst kann pbs die Datei nicht parsen #}