Odd Backup Issue

Buckeyes1995

New Member
Jan 14, 2023
15
0
1
I have an LXC and a VM on one of my Proxmox servers. I'm backing up over NFS to my NAS. The VM backup works fine. When I try to backup the LXC, 101, I get the following error. I'm able to back up an LXC on another server without issue. Any ideas?

Code:
2024-02-25 15:38:46 INFO: Starting Backup of VM 101 (lxc)
2024-02-25 15:38:46 INFO: status = stopped
2024-02-25 15:38:46 INFO: backup mode: stop
2024-02-25 15:38:46 INFO: ionice priority: 7
2024-02-25 15:38:46 INFO: CT Name: mqtt
2024-02-25 15:38:46 INFO: including mount point rootfs ('/') in backup
2024-02-25 15:38:46 INFO: creating vzdump archive '/mnt/pve/VM_Backup/dump/vzdump-lxc-101-2024_02_25-15_38_46.tar.zst'
2024-02-25 15:38:46 INFO: tar: /mnt/pve/VM_Backup/dump/vzdump-lxc-101-2024_02_25-15_38_46.tmp: Cannot open: Permission denied
2024-02-25 15:38:46 INFO: tar: Error is not recoverable: exiting now
2024-02-25 15:38:46 ERROR: Backup of VM 101 failed - command 'set -o pipefail && lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar cpf - --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' --one-file-system '--warning=no-file-ignored' '--directory=/mnt/pve/VM_Backup/dump/vzdump-lxc-101-2024_02_25-15_38_46.tmp' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | zstd '--threads=1' >/mnt/pve/VM_Backup/dump/vzdump-lxc-101-2024_02_25-15_38_46.tar.dat' failed: exit code 2
 
the unprivileged root user of the container needs access to the dump directory..
 

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!