template brain_backup - update condition - need some jinja lessons
This commit is contained in:
1 parent
43c81ba4d7
commit
b56d2aa80c
1 file changed
+1
-1
@@ -86,7 +86,7 @@ find $backup_dir -type d -ctime +$backup_local_retention -exec rm -rf {} \;
|
|||||||
/usr/bin/proxmox-backup-client backup slash.pxar:/ \
|
/usr/bin/proxmox-backup-client backup slash.pxar:/ \
|
||||||
{% if backup_path_include is defined %}
|
{% if backup_path_include is defined %}
|
||||||
{% for item in backup_path_include %}
|
{% 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 %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if backup_pgsql_enabled is sameas true %}
|
{% if backup_pgsql_enabled is sameas true %}
|
||||||
|
|||||||
Reference in new issue
Block a user