CT backup failing?

tl5k5

Well-Known Member
Jul 28, 2017
60
1
48
51
Hello all,
I have a newly deployed CT running that fails backups to my TrueNAS NFS share:
Code:
()
INFO: starting new backup job: vzdump 303 --node rpve02 --notes-template '{{guestname}}' --compress zstd --storage truenas --remove 0 --mode snapshot
INFO: Starting Backup of VM 303 (lxc)
INFO: Backup started at 2022-09-26 09:59:47
INFO: status = running
INFO: CT Name: dockers
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
Creating snap: 10% complete...
Creating snap: 100% complete...done.
/dev/rbd1
INFO: creating vzdump archive '/mnt/pve/truenas/dump/vzdump-lxc-303-2022_09_26-09_59_47.tar.zst'
INFO: tar: /mnt/pve/truenas/dump/vzdump-lxc-303-2022_09_26-09_59_47.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: cleanup temporary 'vzdump' snapshot
Removing snap: 100% complete...done.
ERROR: Backup of VM 303 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/truenas/dump/vzdump-lxc-303-2022_09_26-09_59_47.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 --rsyncable '--threads=1' >/mnt/pve/truenas/dump/vzdump-lxc-303-2022_09_26-09_59_47.tar.dat' failed: exit code 2
INFO: Failed at 2022-09-26 09:59:48
INFO: Backup job finished with errors
TASK ERROR: job errors

I normally run VMs, but don't recall having any CTs failing backups in the past.
All of my other current VMs finish their backups to this same NFS share without errors.
"Local" backup of this CT works correctly.

Any help pointing me in the right direction would be appreciated.

PVE 7.2.7 cluster x3
Ceph 16.2.9
 
INFO: tar: /mnt/pve/truenas/dump/vzdump-lxc-303-2022_09_26-09_59_47.tmp: Cannot open: Permission denied
Seems to be a permission issue on your NFS. Make sure the permissions are set correctly.
 
INFO: tar: /mnt/pve/truenas/dump/vzdump-lxc-303-2022_09_26-09_59_47.tmp: Cannot open: Permission denied
Seems to be a permission issue on your NFS. Make sure the permissions are set correctly.
Mira,
As I stated originally "All of my other current VMs finish their backups to this same NFS share without errors."
What about a single CT would have permissions issues to an NFS share that works for all other backups?
 

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!