LXC restore from NFS failed

jazzl0ver

Renowned Member
Mar 6, 2013
72
1
73
Hi. I've dumped an existing unprivileged LXC container to NFS storage and then tried to restore it on the same Proxmox server with unprivileged box ticked. The restoration has failed with the following error:
Code:
...
extracting archive '/mnt/pve/trendy-images/dump/vzdump-lxc-111-2017_07_19-15_04_42.tar.lzo'
tar: /mnt/pve/trendy-images/dump/vzdump-lxc-111-2017_07_19-15_04_42.tar.lzo: Cannot open: Permission denied
tar: Error is not recoverable: exiting now
TASK ERROR: command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf /mnt/pve/trendy-images/dump/vzdump-lxc-111-2017_07_19-15_04_42.tar.lzo --totals --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-xattr-write' -C /var/lib/lxc/116/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2

Am I doing something wrong or it's a bug?
 

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!