update include / exclude vars name for better understanding
This commit is contained in:
parent
a0fb7ff4bb
commit
a9cb1bdca9
@ -85,7 +85,7 @@ find $backup_dir -type d -ctime +$backup_retention -exec rm -rf {} \;
|
|||||||
|
|
||||||
## send to PBS ##
|
## send to PBS ##
|
||||||
/usr/bin/proxmox-backup-client backup slash.pxar:/ \
|
/usr/bin/proxmox-backup-client backup slash.pxar:/ \
|
||||||
{% for item in backup_path %}
|
{% for item in backup_path_include %}
|
||||||
{% if item.fs_mount }}--include-dev {{ item.path }} \{% endif %}
|
{% if item.fs_mount }}--include-dev {{ item.path }} \{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if backup_pgsql_enabled %}
|
{% if backup_pgsql_enabled %}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
{% for item in backup_path %}
|
{% for item in backup_path_exclude %}
|
||||||
{% if item.exclude }}{{ item.exclude }}{% endif %}
|
{{ item.value }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for item in backup_path %}
|
{% for item in backup_path_include %}
|
||||||
!{{ item.value }}
|
!{{ item.path }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user