fix for undefined databases

This commit is contained in:
Alik Kurdyukov 2025-06-17 11:46:57 +04:00
parent e334994e19
commit 60115dd0b7

View File

@ -181,7 +181,9 @@ commands:
{% endif %}
# Databases specific backup
{% if borgmatic_databases is defined %}
{% for database in borgmatic_databases %}
{{ database }}_databases:
{{ borgmatic_databases[database] | to_nice_yaml(indent=4) | indent(4, first=true) }}
{% endfor %}
{% endif %}