update include / exclude vars name for better understanding
This commit is contained in:
		| @@ -85,7 +85,7 @@ find $backup_dir -type d -ctime +$backup_retention -exec rm -rf {} \; | ||||
|  | ||||
| ## send to PBS ## | ||||
| /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 %} | ||||
| {% endfor %} | ||||
| {% if backup_pgsql_enabled %} | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| /* | ||||
| {% for item in backup_path %} | ||||
| {% if item.exclude }}{{ item.exclude }}{% endif %} | ||||
| {% for item in backup_path_exclude %} | ||||
| {{ item.value }} | ||||
| {% endfor %} | ||||
| {% for item in backup_path %} | ||||
| !{{ item.value }} | ||||
| {% for item in backup_path_include %} | ||||
| !{{ item.path }} | ||||
| {% endfor %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user