Backup of lxc skips some log files

PaoloVIP

Active Member
Oct 8, 2015
27
0
41
proxmox-ve: 4.2-49 (running kernel: 4.4.8-1-pve)
pve-manager: 4.2-4 (running version: 4.2-4/2660193c)
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.2.6-1-pve: 4.2.6-36
pve-kernel-4.4.8-1-pve: 4.4.8-49
pve-kernel-4.2.8-1-pve: 4.2.8-41
pve-kernel-4.2.2-1-pve: 4.2.2-16
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 1.0-1
pve-cluster: 4.0-39
qemu-server: 4.0-74
pve-firmware: 1.1-8
libpve-common-perl: 4.0-60
libpve-access-control: 4.0-16
libpve-storage-perl: 4.0-50
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.5-16
pve-container: 1.0-63
pve-firewall: 2.0-26
pve-ha-manager: 1.0-31
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.5-7
lxcfs: 2.0.0-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5-pve9~jessie

Hello,
backups on all my Debian 8 lxc skips some log files (mostly var/log/many_dirs, but not only). Either in snapshot, suspend or stop mode, either lzo or gzip compressions, either from cli (eg: vzdump 100 102 103 104 105 107 108 109 110 --mailto cip@ciop.com --quiet 1 --mode stop --storage NFS --compress lzo --maxfiles 2)

This is my vzdump.conf
Code:
# vzdump default settings

tmpdir: /media/lxc/temp
#dumpdir: DIR
#storage: STORAGE_ID
#mode: snapshot|suspend|stop
#bwlimit: KBPS
#ionice: PRI
#lockwait: MINUTES
#stopwait: MINUTES
#size: MB
#maxfiles: N
#script: FILENAME
#exclude-path: PATHLIST
#pigz: N:

The target storage is a nfs partition (configured in storage panel with normal nfs export and VZDump backup file option only). All my lxc are on a simple etx4 partition.
 
update to latest version and set in /etc/vzdump.

> stdexcludes: 0
 
It doesn't worked for me. I put the option in /etc/vzdump.conf. Must I reboot Proxmox ?

Code:
# vzdump default settings

tmpdir: /media/lxc/temp
#dumpdir: DIR
#storage: STORAGE_ID
#mode: snapshot|suspend|stop
#bwlimit: KBPS
#ionice: PRI
#lockwait: MINUTES
#stopwait: MINUTES
#size: MB
#maxfiles: N
#script: FILENAME
#exclude-path: PATHLIST
#pigz: N:
stdexcludes: 0
 
works here. but I do not use a tmpdir.

but of course, you need to create a new backup and then a testrestore.
 
  • Like
Reactions: PaoloVIP
Yes, only for new backup, of course.
After reboot, I don't know why, now it works, thank you.
 

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!