add backup_host_id

This commit is contained in:
Ludovic Cartier committed 2024-12-24 15:33:59 +01:00
1 parent 2bb51ac0b2
commit 5ba16338c6
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ find $backup_dir -type d -ctime +$backup_local_retention -exec rm -rf {} \;
## send to PBS ##
/usr/bin/proxmox-backup-client backup slash.pxar:/ \
--backup-id {{ ansible_hostname }} \
--backup-id {{ backup_host_id | default({{ ansible_hostname }}) }} \
{% if backup_path_include is defined %}
{% for item in backup_path_include %}
{% if item.fs_mount is defined %}--include-dev {{ item.path }} \{% endif %}