Backup failed if files were deleted during backup

achirkov

Member
Nov 26, 2020
25
1
8
31
Code:
$ proxmox-backup-client version
client version: 2.4.3
Code:
proxmox-backup-server/stable,now 3.0.2-1 amd64
I am trying to backup a folder. Some files were deleted during the backup and I am getting an I/O error. Is it possible to ignore the error when some files were deleted during the backup?
Code:
Upload directory '/data/' to 'nomad@pbs@my.dns.record:8007:/data' as data.pxar.didx
catalog upload error - channel closed
Error: error at "app/tenant/app/13/645913/578426/project": stat failed on "app/tenant/app/13/645913/578426/project/thumbs": EIO: I/O error
 
Hi, on what filesystem is the data located? The backup client handles vanished or even files changed while backing up just fine, but the EIO is unexpected and therefore returns with error.

P.S.: Not really related, but you should upgrade both, server and client to the latest versions.
 
The data is located on glusterfs. All glusterfs nodes are connected, there are no errors in the logs \ gluster volume info. Free space on each node is 306 GB.
 
So I did try to reproduce your issue on a local test setup with glusterfs as data source, but was unable to reproduce the EIO error you reported. That could however be a timing issue: How reproducible is the error on your side?

I am however able to trigger a ESTALE stale file handle error when trying to access a files xattrs via the opened file handle, for cases where the file vanished while reading. That error should be non-fatal, as network filesystems tend to signal invalidated file handles that way. Working on a fix for that.

Edit: Created an issue for this in our bugtracker, see and subscribe for status updates https://bugzilla.proxmox.com/show_bug.cgi?id=5853
 
Last edited:

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!