PBS Restore fails: Error: error extracting archive - encountered unexpected error during extraction

ubu

Renowned Member
Nov 24, 2017
480
108
83
50
I get the following error trying to restore a Container.

How can i get more information what the error is / how to solve it?

KVM restore is working, LXC fails, Verify finds no errors on backup

recovering backed-up configuration from 'pbs_pve165:backup/ct/16000186/2023-11-13T08:32:07Z'
restoring 'pbs_pve165:backup/ct/16000186/2023-11-13T08:32:07Z' now..
Error: error extracting archive - encountered unexpected error during extraction
TASK ERROR: unable to restore CT 100 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/16000186/2023-11-13T08:32:07Z root.pxar /var/lib/lxc/100/rootfs --allow-existing-dirs --repository pve161@pbs@pve165.examion.com:rpool' failed: exit code 255
 
Hi, Ubu. I ha the same problem and still cannot resolved. I found this link, maybe can help you.

Link

This is my log. I verify the backups on PBS and are OK.

Code:
recovering backed-up configuration from 'nas:backup/ct/117/2023-11-20T08:02:22Z'
  Logical volume "vm-117-disk-0" created.
Creating filesystem with 3932160 4k blocks and 983040 inodes
Filesystem UUID: 6819c961-60c1-4060-95ab-318f2a9dc1bb
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
restoring 'nas:backup/ct/117/2023-11-20T08:02:22Z' now..
Error: error extracting archive - encountered unexpected error during extraction
  Logical volume "vm-117-disk-0" successfully removed.
TASK ERROR: unable to restore CT 117 - command 'lxc-usernsexec -m u:0:100000:1000 -m u:1000:1000:2000 -m u:65534:165534:1 -m g:0:100000:100 -m g:100:100:1 -m g:101:100100:899 -m g:1000:1000:2000 -m g:65534:165534:1 -- /usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/117/2023-11-20T08:02:22Z root.pxar /var/lib/lxc/117/rootfs --allow-existing-dirs --repository root@pam@192.168.30.43:backups' failed: exit code 255
 
I already did that, no problems.
I have created a new container, mounted the backup and manualy copied the files, but it is worrying that it does not show why the restore is not working
 
Last edited:
  • Like
Reactions: leesteken

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!