It seems to me that backing up a lxc excludes some paths per default as mentioned, but not explicit called, in [1]. But in my opinion excluding /var/log/* MAY be a bad idea as this excludes everything - although some programs are expecting existing log paths after restoring, apache2 for example (at least in "jessie").
So I tried [3] one after one to override this behaviour in /etc/vzdump.conf by setting "exclude-path" as mentioned in [2] but it won't work as expected. Backup still does it's job but the "stdexcludes" still apply.
Did I miss something here?
[1] https://pve.proxmox.com/wiki/Manual:_vzdump
[2] https://pve.proxmox.com/wiki/VZDump
[3] exclude-path: "/tmp/?*" "/var/tmp/?*" "/var/run/?*"
exclude-path: "/tmp/.+" "/var/tmp/.+" "/var/run/.+pid"
exclude-path: "/tmp/" "/var/tmp/" "/var/run/"
So I tried [3] one after one to override this behaviour in /etc/vzdump.conf by setting "exclude-path" as mentioned in [2] but it won't work as expected. Backup still does it's job but the "stdexcludes" still apply.
Did I miss something here?
[1] https://pve.proxmox.com/wiki/Manual:_vzdump
[2] https://pve.proxmox.com/wiki/VZDump
[3] exclude-path: "/tmp/?*" "/var/tmp/?*" "/var/run/?*"
exclude-path: "/tmp/.+" "/var/tmp/.+" "/var/run/.+pid"
exclude-path: "/tmp/" "/var/tmp/" "/var/run/"