diff --git a/templates/pxarexclude.j2 b/templates/pxarexclude.j2 index ee000a4..093f261 100644 --- a/templates/pxarexclude.j2 +++ b/templates/pxarexclude.j2 @@ -1,7 +1,11 @@ /* +{% if backup_path_exclude is defined %} {% for item in backup_path_exclude %} {{ item.value }} {% endfor %} +{% endif %} +{% if backup_path_include is defined %} {% for item in backup_path_include %} !{{ item.path }} {% endfor %} +{% endif %}