TASK ERROR

TROYa

New Member
Dec 2, 2022
10
0
1
I am using Proxmox 7.3-3. It also has pbs installed. The entire HDD sda1 is given for backups. Copying works fine, but when restoring a large number of files, an error occurs:

Starting download of file: drive-scsi0.img.fidx/part/5/base/ÐелеÑСÑÑой ÐÐÐ ÐÑÑ
reading file extraction stream failed - error reading a body from connection: unexpected EOF during chunk size line
TASK ERROR: file restore task failed: command '/usr/bin/proxmox-file-restore extract '--crypt-mode=none' vm/100/2022-12-02T20:05:00Z 'ZHJpdmUtc2NzaTAuaW1nLmZpZHgvcGFydC81L2Jhc2Uv0JLQtdC70LXRgdCh0YLRgNC+0Lkg0J7QntCeINCR0YPRhQ==' - --base64 1 --repository Backup@pbs@192.168.0.10:Backup' failed: exit code 1


while each time the archive is 1.4 GB, although it should be more than 4.5 GB. What could be the reason?


It's not about coding. I have a server with exactly the same settings and everything is fine there.
 
Last edited:
On the Internet, I found the answer to a very similar error:
BUGS
As noted in xattr(7), the VFS imposes a limit of 64 kB on the size of the extended attribute name list returned by listxattr(7). If
the total size of attribute names attached to a file exceeds this limit, it is no longer possible to retrieve the list of attribute
names.


I use zfs and apparently it also has some kind of limitation. In one of the folders I restore 606662 files. So it seems the xattrs of that file are too big to list, so we cannot back them up...
 
Last edited:
Hi!
yes, you can use the `--skip-e2big-xattr true` attribute when making a backup. f.e.:
Code:
proxmox-backup-client backup test.pxar:./test --skip-e2big-xattr true

Note that you will lose all the metadata of the file where the error occurs.
 
  • Like
Reactions: Chris
Hi @ggoller,
Thank you for your quick response. I am a Proxmox newbie and just discovered the proxmox backup cli tool, awesome!
However my task was to restore some files which got lost between different backups. What i did was to use the map cmd.
Mounting the two backup images with

Bash:
loop_device1=$(proxmox-backup-client map vm/101/$backup_name drive-scsi2.img --repository BACKUP-STORAGE-WD-EXT 2>&1 | grep -o '/dev/loop[0-9]\+')
loop_device2=$(proxmox-backup-client map vm/101/$backup_name_next drive-scsi2.img --repository BACKUP-STORAGE-WD-EXT 2>&1 | grep -o '/dev/loop[0-9]\+')
# Mount the drives
mount ${loop_device1}p2 /mnt/backup
mount ${loop_device2}p2 /mnt/backup_next

And let rsync do its job iterating over a few backups
Thanks for your help
 
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!