[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?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!