Backup restore from an already deleted container.

RRR

Member
Dec 6, 2020
9
0
6
47
Hi!

We have a Proxmox cluster and 2 backup servers.
PVE 8.0.4
PBS 3.0-1 internal pbs syncing with external PBS 2.4-1

I have made many different restore attempts (changing VM ID, different servers from the cluster, both backup servers) but always get the same error message.

Do you have any idea what could be the reason or how to restore an already deleted container from the backup?
A backup restore of an existing KVM or container works fine.

The error message is always the same:

TASK ERROR: unable to restore CT 109 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/139/2023-08-20T19:13:20Z root.pxar /var/lib/lxc/109/rootfs --allow-existing-dirs --repository root@pam@10.****:****' failed: exit code 255

TASK ERROR: unable to restore CT 215 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/139/2023-08-22T19:08:22Z root.pxar /var/lib/lxc/215/rootfs --allow-existing-dirs --repository root@pam@10.****:****' failed: exit code 255

TASK ERROR: unable to restore CT 109 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/139/2023-08-22T19:08:22Z root.pxar /var/lib/lxc/109/rootfs --allow-existing-dirs --repository root@pam@****:****' failed: exit code 255
 
all Backups from this CT are verified, so this can not be the issue.
Here the log from the latest restore:
Code:
Header
Proxmox
Virtual Environment 8.0.4
Storage 'pxbu-local' on node 'px01'
Search:
Logs
recovering backed-up configuration from 'pxbu-local:backup/ct/139/2023-08-22T19:08:22Z'
/dev/rbd4
Creating filesystem with 52428800 4k blocks and 13107200 inodes
Filesystem UUID: a5798c66-ee1c-44d1-b6d0-6a7b03457a1c
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624, 11239424, 20480000, 23887872
restoring 'pxbu-local:backup/ct/139/2023-08-22T19:08:22Z' now..
Error: error extracting archive - encountered unexpected error during extraction
Removing image: 1% complete...
Removing image: 2% complete...
Removing image: 3% complete...
Removing image: 4% complete...
Removing image: 5% complete...
Removing image: 6% complete...
Removing image: 7% complete...
Removing image: 8% complete...
Removing image: 9% complete...
Removing image: 10% complete...
Removing image: 11% complete...
Removing image: 12% complete...
Removing image: 13% complete...
Removing image: 14% complete...
Removing image: 15% complete...
Removing image: 16% complete...
Removing image: 17% complete...
Removing image: 18% complete...
Removing image: 19% complete...
Removing image: 20% complete...
Removing image: 21% complete...
Removing image: 22% complete...
Removing image: 23% complete...
Removing image: 24% complete...
Removing image: 25% complete...
Removing image: 26% complete...
Removing image: 27% complete...
Removing image: 28% complete...
Removing image: 29% complete...
Removing image: 30% complete...
Removing image: 31% complete...
Removing image: 32% complete...
Removing image: 33% complete...
Removing image: 34% complete...
Removing image: 35% complete...
Removing image: 36% complete...
Removing image: 37% complete...
Removing image: 38% complete...
Removing image: 39% complete...
Removing image: 40% complete...
Removing image: 41% complete...
Removing image: 42% complete...
Removing image: 43% complete...
Removing image: 44% complete...
Removing image: 45% complete...
Removing image: 46% complete...
Removing image: 47% complete...
Removing image: 48% complete...
Removing image: 49% complete...
Removing image: 50% complete...
Removing image: 51% complete...
Removing image: 52% complete...
Removing image: 53% complete...
Removing image: 54% complete...
Removing image: 55% complete...
Removing image: 56% complete...
Removing image: 57% complete...
Removing image: 58% complete...
Removing image: 59% complete...
Removing image: 60% complete...
Removing image: 61% complete...
Removing image: 62% complete...
Removing image: 63% complete...
Removing image: 64% complete...
Removing image: 65% complete...
Removing image: 66% complete...
Removing image: 67% complete...
Removing image: 68% complete...
Removing image: 69% complete...
Removing image: 70% complete...
Removing image: 71% complete...
Removing image: 72% complete...
Removing image: 73% complete...
Removing image: 74% complete...
Removing image: 75% complete...
Removing image: 76% complete...
Removing image: 77% complete...
Removing image: 78% complete...
Removing image: 79% complete...
Removing image: 80% complete...
Removing image: 81% complete...
Removing image: 82% complete...
Removing image: 83% complete...
Removing image: 84% complete...
Removing image: 85% complete...
Removing image: 86% complete...
Removing image: 87% complete...
Removing image: 88% complete...
Removing image: 89% complete...
Removing image: 90% complete...
Removing image: 91% complete...
Removing image: 92% complete...
Removing image: 93% complete...
Removing image: 94% complete...
Removing image: 95% complete...
Removing image: 96% complete...
Removing image: 97% complete...
Removing image: 98% complete...
Removing image: 99% complete...
Removing image: 100% complete...done.
TASK ERROR: unable to restore CT 109 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/139/2023-08-22T19:08:22Z root.pxar /var/lib/lxc/109/rootfs --allow-existing-dirs --repository root@pam@***IP***:bupool' failed: exit code 255
 

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!