LXC Mountpoints vzdump and restore

Jospeh Huber

Renowned Member
Apr 18, 2016
99
7
73
46
Hi,

in one of my container I have an extra mountpoint for very huge logs.
mp0
/mnt/tracking-log/
The logs are in
/mnt/tracking-log/log

I would like to exlcude this from the backups, so I have defined an exlucde-dirs in vzdump.conf:
exclude-path: /mnt/tracking-log/log

When I do a Backup and restore the extra mountpoint is never restored. (In the LXC container definition)
When I extract the Backup manually the path /mnt/tracking-log is there.

I found a similar posting here... but no answers. (missing feature in pctrestore)
http://pve.proxmox.com/pipermail/pve-user/2015-October/009413.html`

It is very dangerous...because if the mountpoint is not defined manually after a restore, the disk gets full very fast.

Any Ideas?