unable to restore an unprivileged CT as unprivileged 2026

RobFantini

Famous Member
May 24, 2012
2,102
121
133
Boston,Mass
there is another thread named 'unable to restore an unprivileged CT as unprivileged' ( https://forum.proxmox.com/threads/unable-to-restore-an-unprivileged-ct-as-unprivileged.80004/ ) .

so I have a privileged container I want to convert to unprivileged.

tried these:
Code:
# pct restore 181 /media/pbs-nfs/dump/vzdump-lxc-102-2026_06_20-17_00_09.tar.zst -ignore-unpack-errors 1 -unprivileged --storage nvme-4tb
recovering backed-up configuration from '/media/pbs-nfs/dump/vzdump-lxc-102-2026_06_20-17_00_09.tar.zst'
/dev/rbd1
Creating filesystem with 4194304 4k blocks and 1048576 inodes
Filesystem UUID: 3b2ffc96-0718-4b9c-9c86-507eb6eb7fba
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
restoring '/media/pbs-nfs/dump/vzdump-lxc-102-2026_06_20-17_00_09.tar.zst' now..
extracting archive '/media/pbs-nfs/dump/vzdump-lxc-102-2026_06_20-17_00_09.tar.zst'
Total bytes read: 9804339200 (9.2GiB, 271MiB/s)
merging backed-up and given configuration..
and
Code:
:# pct restore 182  /media/pbs-nfs/dump/vzdump-lxc-102-2026_06_20-17_00_09.tar.zst  --unprivileged  1 --storage nvme-4tb
recovering backed-up configuration from '/media/pbs-nfs/dump/vzdump-lxc-102-2026_06_20-17_00_09.tar.zst'
/dev/rbd1
Creating filesystem with 4194304 4k blocks and 1048576 inodes
Filesystem UUID: 80b9b482-db2f-4dcf-8602-541aeec6b846
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
restoring '/media/pbs-nfs/dump/vzdump-lxc-102-2026_06_20-17_00_09.tar.zst' now..
extracting archive '/media/pbs-nfs/dump/vzdump-lxc-102-2026_06_20-17_00_09.tar.zst'
Total bytes read: 9804339200 (9.2GiB, 308MiB/s)
merging backed-up and given configuration..

in both cases the .conf file showed unprivileged
Code:
:# cat /etc/pve/lxc/182.conf
arch: amd64
cores: 2
features: nesting=1
hostname: squid-deb-proxy
memory: 4096
mp0: /mnt/fbc,mp=/mnt/fbc
nameserver: 10.1.3.41
net0: name=eth0,bridge=vmbr3,firewall=1,hwaddr=BC:24:11:1D:1D:44,ip=dhcp,tag=3,type=veth
ostype: ubuntu
rootfs: nvme-4tb:vm-182-disk-0,size=16G
searchdomain: test.com
swap: 512
unprivileged: 1



for us this is not an urgent issue to be fixed. If anyone has a suggestion to try reply and I'll test.
 
Last edited: