Hi, I have 3x node PVE Ceph cluster with community edition support. Everything running OK. Backups vm's are ok.
But I can not backup LXC. Backuping LXC generates this error:
INFO: starting new backup job: vzdump 114 --mode snapshot --compress lzo --remove 0 --node pve1 --storage backup-nfs
INFO: Starting Backup of VM 114 (lxc)
INFO: Backup started at 2020-06-24 09:08:04
INFO: status = running
INFO: CT Name: ltsp-admin
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
/dev/rbd2
INFO: creating archive '/mnt/pve/backup-nfs/dump/vzdump-lxc-114-2020_06_24-09_08_04.tar.lzo'
INFO: tar: /mnt/pve/backup-nfs/dump/vzdumptmp3043810: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: remove vzdump snapshot
Removing snap: 100% complete...done.
ERROR: Backup of VM 114 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/backup-nfs/dump/vzdumptmp3043810' ./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' ./ | lzop >/mnt/pve/backup-nfs/dump/vzdump-lxc-114-2020_06_24-09_08_04.tar.dat' failed: exit code 2
INFO: Failed at 2020-06-24 09:08:05
INFO: Backup job finished with errors
TASK ERROR: job errors
This is nosense:
INFO: creating archive '/mnt/pve/backup-nfs/dump/vzdump-lxc-114-2020_06_24-09_08_04.tar.lzo'
INFO: tar: /mnt/pve/backup-nfs/dump/vzdumptmp3043810: Cannot open: Permission denied
Because this is fully writable ... I saw similar threads here, but no solution ....
Can anyone help ?
But I can not backup LXC. Backuping LXC generates this error:
INFO: starting new backup job: vzdump 114 --mode snapshot --compress lzo --remove 0 --node pve1 --storage backup-nfs
INFO: Starting Backup of VM 114 (lxc)
INFO: Backup started at 2020-06-24 09:08:04
INFO: status = running
INFO: CT Name: ltsp-admin
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
/dev/rbd2
INFO: creating archive '/mnt/pve/backup-nfs/dump/vzdump-lxc-114-2020_06_24-09_08_04.tar.lzo'
INFO: tar: /mnt/pve/backup-nfs/dump/vzdumptmp3043810: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: remove vzdump snapshot
Removing snap: 100% complete...done.
ERROR: Backup of VM 114 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/backup-nfs/dump/vzdumptmp3043810' ./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' ./ | lzop >/mnt/pve/backup-nfs/dump/vzdump-lxc-114-2020_06_24-09_08_04.tar.dat' failed: exit code 2
INFO: Failed at 2020-06-24 09:08:05
INFO: Backup job finished with errors
TASK ERROR: job errors
This is nosense:
INFO: creating archive '/mnt/pve/backup-nfs/dump/vzdump-lxc-114-2020_06_24-09_08_04.tar.lzo'
INFO: tar: /mnt/pve/backup-nfs/dump/vzdumptmp3043810: Cannot open: Permission denied
Because this is fully writable ... I saw similar threads here, but no solution ....
Can anyone help ?