getting an error restoring a container. from googling it said the solution was to restore as privileged instead of unprivleged, but both cause the same error:
recovering backed-up configuration from 'raid1-backups:backup/vzdump-lxc-125-2022_11_11-21_09_34.tar.zst'
WARNING: You have not turned on protection against thin pools running out of space.
WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.
Logical volume "vm-125-disk-0" created.
WARNING: Sum of all thin volume sizes (164.00 GiB) exceeds the size of thin pool pve/data and the amount of free space in volume group (<16.00 GiB).
Creating filesystem with 8388608 4k blocks and 2097152 inodes
Filesystem UUID: ed59b266-92f7-4967-9fd5-0ffb8031466d
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624
restoring 'raid1-backups:backup/vzdump-lxc-125-2022_11_11-21_09_34.tar.zst' now..
extracting archive '/backups/proxmox/dump/vzdump-lxc-125-2022_11_11-21_09_34.tar.zst'
tar: ./var/spool/postfix/dev/random: Cannot mknod: Operation not permitted
tar: ./var/spool/postfix/dev/urandom: Cannot mknod: Operation not permitted
Total bytes read: 3135774720 (3.0GiB, 160MiB/s)
tar: Exiting with failure status due to previous errors
Logical volume "vm-125-disk-0" successfully removed
TASK ERROR: unable to restore CT 125 - command 'lxc-usernsexec -m u:0:100000:1000 -m g:0:100000:1000 -m u:1000:1000:1 -m g:1000:1000:1 -m u:1001:101001:64534 -m g:1001:101001:64534 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/125/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
recovering backed-up configuration from 'raid1-backups:backup/vzdump-lxc-125-2022_11_11-21_09_34.tar.zst'
WARNING: You have not turned on protection against thin pools running out of space.
WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.
Logical volume "vm-125-disk-0" created.
WARNING: Sum of all thin volume sizes (164.00 GiB) exceeds the size of thin pool pve/data and the amount of free space in volume group (<16.00 GiB).
Creating filesystem with 8388608 4k blocks and 2097152 inodes
Filesystem UUID: ed59b266-92f7-4967-9fd5-0ffb8031466d
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624
restoring 'raid1-backups:backup/vzdump-lxc-125-2022_11_11-21_09_34.tar.zst' now..
extracting archive '/backups/proxmox/dump/vzdump-lxc-125-2022_11_11-21_09_34.tar.zst'
tar: ./var/spool/postfix/dev/random: Cannot mknod: Operation not permitted
tar: ./var/spool/postfix/dev/urandom: Cannot mknod: Operation not permitted
Total bytes read: 3135774720 (3.0GiB, 160MiB/s)
tar: Exiting with failure status due to previous errors
Logical volume "vm-125-disk-0" successfully removed
TASK ERROR: unable to restore CT 125 - command 'lxc-usernsexec -m u:0:100000:1000 -m g:0:100000:1000 -m u:1000:1000:1 -m g:1000:1000:1 -m u:1001:101001:64534 -m g:1001:101001:64534 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/125/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2