Restore Issue

nesrineTrimech

New Member
Nov 5, 2024
1
0
1
Can you please help us about the below issue, i try to restore a backup container but i receive the below error, can you please provide us a solution.

Error: error extracting archive - error at entry "random": failed to create device node: Operation not permitted (os error 1)
TASK ERROR: unable to restore CT 156 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/146/2024-10-06T23:00:02Z root.pxar /var/lib/lxc/156/rootfs --allow-existing-dirs --repository root@pam@172.16.20.21:BPS' failed: exit code 255

1730800605321.png
 
you are trying to restore a backup of a privileged container as unprivileged. this only works if the backup doesn't contain any entries that only work for privileged containers. the usual culprit is postfix with a chroot setup that contains device nodes. you can convert your container to not use postfix with such a configuration (including removing the device nodes), take another backup, and then you should be able to restore it as unprivileged.
 

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!