[SOLVED] Restore error PBS to new PVE host

andreasc

New Member
Mar 16, 2021
11
2
3
Hi together,

I have 8 containers running with a daily backup pbs. Now I try to restore all containers to a new pve host. 7 containers working fine, regardless if there are privileged or unprivileged.

Now I try the last one to disks (root 10, mp0 650GB). I getting the following error after round about 80-100GB of the recovery process:

recovering backed-up configuration from 'pbs1:backup/ct/103/2021-03-25T01:05:35Z' restoring 'pbs1:backup/ct/103/2021-03-25T01:05:35Z' now.. Error: error extracting archive - error at entry "": failed to apply directory metadata: failed to apply acls: Error while restoring ACL - ACL invalid TASK ERROR: unable to restore CT 103 - command '/usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/103/2021-03-25T01:05:35Z root.pxar /var/lib/lxc/103/rootfs --allow-existing-dirs --repository sa-bckpve2@pbs@pbs1.canje.net:pve1' failed: exit code 255

The datastore has the same configuration as the original host:
zfs set xattr=sa dnodesize=auto dpool/data zfs set acltype=posixacl dpool

Following the log from pve host:
Mar 25 22:16:25 pve2 systemd[20580]: rpool-data-subvol\x2d103\x2ddisk\x2d0-var-nc\x2ddata.mount: Succeeded.
Mar 25 22:16:25 pve2 systemd[20580]: var-lib-lxc-103-rootfs-var-nc\x2ddata.mount: Succeeded.
Mar 25 22:16:25 pve2 systemd[1]: rpool-data-subvol\x2d103\x2ddisk\x2d0-var-nc\x2ddata.mount: Succeeded.
Mar 25 22:16:25 pve2 systemd[1]: var-lib-lxc-103-rootfs-var-nc\x2ddata.mount: Succeeded.
Mar 25 22:16:25 pve2 systemd[20580]: var-lib-lxc-103-rootfs.mount: Succeeded.
Mar 25 22:16:25 pve2 systemd[1]: var-lib-lxc-103-rootfs.mount: Succeeded.
Mar 25 22:16:25 pve2 systemd[1]: rpool-data-subvol\x2d103\x2ddisk\x2d0.mount: Succeeded.
Mar 25 22:16:25 pve2 systemd[20580]: rpool-data-subvol\x2d103\x2ddisk\x2d0.mount: Succeeded.
Mar 25 22:16:28 pve2 systemd[1]: rpool-data-subvol\x2d103\x2ddisk\x2d1.mount: Succeeded.
Mar 25 22:16:28 pve2 systemd[20580]: rpool-data-subvol\x2d103\x2ddisk\x2d1.mount: Succeeded.
Mar 25 22:16:33 pve2 pvedaemon[9002]: unable to restore CT 103 - command '/usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/103/2021-03-25T01:05:35Z root.pxar /var/lib/lxc/103/rootfs --allow-existing-dirs --repository sa-bckpve2@pbs@pbs1.canje.net:pve1' failed: exit code 255
Mar 25 22:16:33 pve2 pvedaemon[8530]: <root@pam> end task UPID:pve2:0000232A:00366E82:605CEB27:vzrestore:103:root@pam: unable to restore CT 103 - command '/usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/103/2021-03-25T01:05:35Z root.pxar /var/lib/lxc/103/rootfs --allow-existing-dirs --repository sa-bckpve2@pbs@pbs1.canje.net:pve1' failed: exit code 255

BR

Andreas
 
Same issue with my system. I tried to restore a lxc and got this error:

restoring 'pbsbackup:backup/ct/1100/2021-03-26T00:41:02Z' now..
Error: error extracting archive - error at entry "": failed to apply directory metadata: failed to apply acls: Error while restoring ACL - ACL invalid
Logical volume "vm-1100-disk-0" successfully removed
TASK ERROR: unable to restore CT 1100 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/1100/2021-03-26T00:41:02Z root.pxar /var/lib/lxc/1100/rootfs --allow-existing-dirs --repository root@pam@x.x.x.x:pbsbackup' failed: exit code 255


I can't restore any lxc because always get this error.

I'm running PBS 1.0-11 and PVE 6.3-6

Edit: Older backups (before march 24th) work fine but i. e. new basic backups from new CT even don't work.
 
Last edited:
Same issue with my system. I tried to restore a lxc and got this error:

restoring 'pbsroot2:backup/ct/1104/2021-03-29T08:02:20Z' now..
Error: error extracting archive - error at entry "": failed to apply directory metadata: failed to apply acls: Error while restoring ACL - ACL invalid
TASK ERROR: unable to restore CT 5104 - command '/usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/1104/2021-03-29T08:02:20Z root.pxar /var/lib/lxc/5104/rootfs --allow-existing-dirs --repository root@pam@x.x.x.x:STORAGE2' failed: exit code 255

I can't restore some of my lxcs because this error appears, others don't.

I'm running PBS 1.0-11 and PVE 6.3-6
 
Hi.

I got the same error message after trying to restore one CT.

Code:
unable to restore CT 604 - command '/usr/bin/proxmox-backup-client restore '--crypt-mode=encrypt' '--keyfd=8' ct/602/2021-04-01T01:30:57Z root.pxar /var/lib/lxc/604/rootfs --allow-existing-dirs --repository root@pam@xxx.xxx.com:backups' failed: exit code 255

Same PBS and PVE versions ( PBS 1.0-11 and PVE 6.3-6)


EDIT: I tried to restore an older backup from the same CT, and it worked. So I guess there must be an error creating backups on newer PBS versions. I cannot confirm which PBS version was used when I created this backup, but it was made on March 21th (and I always keep PBS software updated, so maybe anyone can trace it out).
 
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!