template brain_backup - update condition - need some jinja lessons
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user