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:/ \
|
/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