From b56d2aa80c4d8b521d98cf632fa8a425d021f678 Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Tue, 24 Dec 2024 11:55:55 +0100 Subject: [PATCH] template brain_backup - update condition - need some jinja lessons --- templates/brain_backup.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/brain_backup.j2 b/templates/brain_backup.j2 index 6ccc9f7..8d84700 100644 --- a/templates/brain_backup.j2 +++ b/templates/brain_backup.j2 @@ -86,7 +86,7 @@ find $backup_dir -type d -ctime +$backup_local_retention -exec rm -rf {} \; /usr/bin/proxmox-backup-client backup slash.pxar:/ \ {% if backup_path_include is defined %} {% for item in backup_path_include %} -{% if item.fs_mount %}--include-dev {{ item.path }} \{% endif %} +{% if item.fs_mount is defined %}--include-dev {{ item.path }} \{% endif %} {% endfor %} {% endif %} {% if backup_pgsql_enabled is sameas true %}