[SOLVED] Backup lxc on zfs - lost files?

Konsta

Renowned Member
Dec 19, 2015
2
0
66
58
I have PVE 4.2-2, ZFS storage /zfspool and LXC container on it.
Into container I have files, for example /var/log/bla-bla-bla
I can see they in Proxmox shell as /zfspool/subvol-101-disk-1/var/log/bla-bla-bla
When I make backup (mode stop and any compression) and then restore on container 102 I see empty /zfspool/subvol-102-disk-1/var/log/ (and several other dirs)
What's wrong with me?
(Of course no errors on backup, restore, disk or memory)
 
vzdump does not backup some log files per default to save space. See option 'stdexcludes' in "man vzdump". But newer vzdump version includes files in /var/log. so maybe you run an old version?