Issue restoring backup of a larger container

salvage-this

New Member
Jan 26, 2024
1
0
1
Hi everyone, I had a failure of my storage disk in my PVE server and I am in the process of restoring the VMs that were stored on that disk from my PBS server. Most of my VMs came back just fine, but one VM (Nextcloud) is having issues restoring.

Code:
recovering backed-up configuration from 'pbs01:backup/ct/101/2025-11-03T06:02:18Z'
restoring 'pbs01:backup/ct/101/2025-11-03T06:02:18Z' now..
HTTP/2.0 connection failed
Error: error extracting archive - encountered unexpected error during extraction: error at entry "21-02-07 15-34-40 2648.jpg": failed to extract file: failed to copy file contents: connection reset
TASK ERROR: unable to restore CT 101 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/101/2025-11-03T06:02:18Z root.pxar /var/lib/lxc/101/rootfs --allow-existing-dirs --repository pbs_svc@pbs@pbs01:Backups' failed: exit code 255

A few things I have been working through:

1. Initially I thought it was a corrupted file, but on retry it fails at different times and on different filenames. I showed no issue reading those files before the crash of my PVE server.
2. After that I increased the timeout in Debian to see if that resolved the issue. This results in longer runs sometimes, but does not change the error overall
Code:
/etc/sysctl.conf
# TCP keepalive time
net.ipv4.tcp_keepalive_time = 2000

# TCP keepalive interval
net.ipv4.tcp_keepalive_intvl = 60

# TCP keepalive retries
net.ipv4.tcp_keepalive_probes = 5
3. I took the command from the failed log entry and ran it manually on my PBS Host. That seems to fail with different errors
Code:
Error: error extracting archive - encountered unexpected error during extraction: error at "/var/spool/postfix/dev/log": error at entry "log": failed to extract unix socket: failed to create device node: File exists (os error 17)
4. I then appended the additional flags --overwrite --ignore-extract-device-errors to try and bypass those errors, but it still failed.
5. While I am using a different NIC I also tried disabling hardware offload to see if it made any difference. It failed in the same way.

At this point I'd like to export the backup from PBS to PVE and then try the restore locally to see if that bypasses the connection errors, but I am having trouble finding if that is even possible.

If there are any other log messages I should look for in specific log files please let me know so I can dig them up.

I am curious what I can check next, if you all have any insight on this issue I'd love to hear it.

Thanks everyone!