Backup failled exit code 2

Nass

Member
Oct 25, 2022
40
1
13
Hello, i got this error while trying to backip a ct :

recovering backed-up configuration from '/dev/vzdump-lxc-101-2024_01_19-11_50_26.tar'
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-420-disk-0" created.
WARNING: Sum of all thin volume sizes (1.94 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (<744.68 GiB).
Creating filesystem with 15728640 4k blocks and 3932160 inodes
Filesystem UUID: 51d37d62-fe81-478a-b7fe-ff7b25bc93bd
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
restoring '/dev/vzdump-lxc-101-2024_01_19-11_50_26.tar' now..
extracting archive '/dev/vzdump-lxc-101-2024_01_19-11_50_26.tar'
tar: failed to return to initial working directory: Permission denied
Logical volume "vm-420-disk-0" successfully removed

TASK ERROR: unable to restore CT 420 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --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/420/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
 
Hi,
Hello, i got this error while trying to backip a ct :
the log you posted is for a restore task.
recovering backed-up configuration from '/dev/vzdump-lxc-101-2024_01_19-11_50_26.tar'
/dev is a very unusual place to store your backups. I'd suggest you move them somewhere else and try again. What is the exact command you used to attempt the restore?
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-420-disk-0" created.
WARNING: Sum of all thin volume sizes (1.94 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (<744.68 GiB).
You should monitor the space usage on your LVM-Thin pool. Can be done in the UI or using the command lvs and looking at the Data% column.
 

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!