Proxmox /etc/vzdump.conf Syntax

starnetwork

Renowned Member
Dec 8, 2009
422
10
83
Hi,
my /etc/vzdump.conf include the following line:
Code:
exclude-path: "/home/*/backups/*" "/home/admin/admin_backups/*" "/tmp/*" "/var/tmp/*" "/home/*/domains/*/public_html/var/*" "/home/*/domains/*/public_html/wp-content/cache/*" "/var/log/modsec_audit/*" "/home/tmp/*" "/home/*/tmp/"
but weekly backup show the following error:
Code:
INFO: tar: ./home/m2user1/tmp/sess_cjrvemv3prgakqi3eqqokuij30: Cannot stat: Structure needs cleaning
and
Code:
ERROR: Backup of VM 172 failed - command 'set -o pipefail && tar cpf - --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' --one-file-system '--warning=no-file-ignored' '--directory=/mnt/pve/externalbackups/tmp/vzdumptmp1072640' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./home/*/backups/*' '--exclude=./home/admin/admin_backups/*' '--exclude=./tmp/*' '--exclude=./var/tmp/*' '--exclude=./home/*/domains/*/public_html/var/*' '--exclude=./home/*/domains/*/public_html/wp-content/cache/*' '--exclude=./var/log/modsec_audit/*' '--exclude=./home/tmp/*' '--exclude=./home/*/tmp/' '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | pve-xdelta3 -q -e -c -s /mnt/pve/externalbackups/dump/vzdump-lxc-172-2020_05_01-23_09_02.tar.lzo | lzop >/mnt/pve/externalbackups/dump/vzdump-lxc-172-2020_05_01-23_09_02.tar.lzo--differential-2020_05_08-23_06_43.dat' failed: exit code 2

any suggestion what wrong with my conf?

Regards,
 
hi,

INFO: tar: ./home/m2user1/tmp/sess_cjrvemv3prgakqi3eqqokuij30: Cannot stat: Structure needs cleaning is usually a sign of filesystem coruption.

you should stop your node, make a backup of your disk (f.e. with clonezilla or dd) and run e2fsck or fsck
 

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!