Can't Restore PBS Container Backups to orginatinf PVE node post joining a cluster

herefortheLAN

Member
Aug 22, 2023
3
0
6
Greetngs. I have two PVE nodes. Over the weekend I decided to take the plunge and create a cluster (even though I will not be sharing storage; maybe when I build out my infrastructure).

I created the cluster with PVE_B knowing that I would have to blow-out my containers and vms on PVE_A to join this new cluster. I dutifully backed everything up via PBS and thought I was good to go.

Not so fast.

VMs appear to restore without issue but every container throws an error like this when attempting to restore:

Via cli as root:
Bash:
pct restore 201 MoonKnight:backup/ct/201/2025-09-14T06:00:01Z -storage JakeLockley --force 1
recovering backed-up configuration from 'MoonKnight:backup/ct/201/2025-09-14T06:00:01Z'
restoring 'MoonKnight:backup/ct/201/2025-09-14T06:00:01Z' now..
Warning: "/var/log/journal/4eb989681862417896a9734e2d28a946/user-1933401105@19d7fd9c327f4797ada491f6bcda3937-0000000000160e09-000632dc1fc245b3.journal" - ACL invalid, attempting restore anyway..
Error: error extracting archive - encountered unexpected error during extraction: error at entry "user-1933401105@19d7fd9c327f4797ada491f6bcda3937-0000000000160e09-000632dc1fc245b3.journal": failed to extract file: failed to apply acls: EINVAL: Invalid argument
unable to restore CT 201 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -m u:152600000:152600000:100000 -m g:152600000:152600000:100000 -- /usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/201/2025-09-14T06:00:01Z root.pxar /var/lib/lxc/201/rootfs --allow-existing-dirs --repository user@Keycloak!MoonKnight@pbs.lan.foo.bar:MoonKnight' failed: exit code 255

via GUI as the user that created the PBS backups:

Code:
recovering backed-up configuration from 'MoonKnight:backup/ct/201/2025-09-14T06:00:01Z'
restoring 'MoonKnight:backup/ct/201/2025-09-14T06:00:01Z' now..
Error: error extracting archive - encountered unexpected error during extraction: error at entry ".bash_history": failed to extract file: failed to set ownership: Invalid argument (os error 22)
TASK ERROR: unable to restore CT 201 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/201/2025-09-14T06:00:01Z root.pxar /var/lib/lxc/201/rootfs --allow-existing-dirs --repository user@Keycloak!MoonKnight@pbs.lan.foo.bar:MoonKnight' failed: exit code 255

Things to note, the PVE nodes are FreeIPA domain joined as are all the containers and VMs. The /etc/subuid and /etc/subguid are as follows:
subuid:

Bash:
root:100000:65536
root:1000000000:2500000000
root:152600000:100000
subguid:
Bash:
root:100000:65536
root:1000000000:2500000000
root:152600000:100000
Any thoughts or ideas? If the PBS Restore route is not viable in my case, what would you suggest?

Thank you!

Edit: Yes, I only have two nodes but I am running a Q device for quorum purposes.

Edit Edit: At the time the backups were created, PVE was not part of a cluster and was at the most recent 8.x release; PBS was at 3.3.x release. Both are now completely up-to-date.

I do not have any issues restoring VM backups.
 
Last edited: