Hi everyone,
When attempting to restore an LXC from a PBS via PVE GUI, the following error messages appeared:
The Proxmox VE has the following subuid & subgid configuration:
The LXC configuration is extended with the following lines:
The backup of the LXC is triggered via PVE GUI. When attempting to restore the LXC via PVE CLI using the following command:
the restore of the LXC finishes successfully without errors and works as expected.
PVE version
pve-manager/8.4.1/2a5fa54a8503f96d (running kernel: 6.8.12-10-pve)
proxmox-backup-client: 3.4.1-1
PBS version
proxmox-backup 3.4.0 running kernel: 6.8.12-5-pve
proxmox-backup-server 3.4.3-1 running version: 3.3.2
proxmox-backup-client 3.4.3-1
Can anyone help me to fix the restore triggered from PVE GUI?
Thanks!
When attempting to restore an LXC from a PBS via PVE GUI, the following error messages appeared:
Code:
TASK ERROR: unable to restore CT [ID] - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/[ID]/[DATE] root.pxar /var/lib/lxc/[ID restore]/rootfs --allow-existing-dirs --repository [pbs user]@pbs@[IP PBS]:[DATASTORE] --ns [NAMESPACE]' failed: exit code 255
Error: error extracting archive - encountered unexpected error during extraction: error at entry ".bash_history": failed to extract file: failed to set ownership: Invalid argument (os error 22)
The Proxmox VE has the following subuid & subgid configuration:
Code:
/etc/subuid:
root:100000:65536
root:1640600000:200000
/etc/subgid:
root:100000:65536
root:1640600000:200000
The LXC configuration is extended with the following lines:
Code:
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 65536
lxc.idmap: u 1640600000 1640600000 200000
lxc.idmap: g 1640600000 1640600000 200000
The backup of the LXC is triggered via PVE GUI. When attempting to restore the LXC via PVE CLI using the following command:
Code:
pct restore [IDrestore] pbs:backup/ct/[ID]/[DATE] --rootfs [STORAGE]:[SIZE] --unprivileged=1
PVE version
pve-manager/8.4.1/2a5fa54a8503f96d (running kernel: 6.8.12-10-pve)
proxmox-backup-client: 3.4.1-1
PBS version
proxmox-backup 3.4.0 running kernel: 6.8.12-5-pve
proxmox-backup-server 3.4.3-1 running version: 3.3.2
proxmox-backup-client 3.4.3-1
Can anyone help me to fix the restore triggered from PVE GUI?
Thanks!