Hellou,
when I try to backup unprivileged container on zfs I get this error messages:
Could you help me with this problem?
Thanks
when I try to backup unprivileged container on zfs I get this error messages:
Code:
>vzdump 400 --storage syno10
INFO: starting new backup job: vzdump 400 --storage syno10
INFO: Starting Backup of VM 400 (lxc)
INFO: Backup started at 2023-06-15 11:54:24
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: syslog
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/mnt/pve/syno10/dump/vzdump-lxc-400-2023_06_15-11_54_24.tar'
INFO: tar: ./etc/ssh/ssh_host_dsa_key: Cannot open: Permission denied
INFO: tar: ./etc/ssh/ssh_host_rsa_key: Cannot open: Permission denied
INFO: tar: ./etc/ssh/ssh_host_ecdsa_key: Cannot open: Permission denied
INFO: tar: ./etc/ssh/ssh_host_ed25519_key: Cannot open: Permission denied
INFO: tar: ./etc/shadow-: Cannot open: Permission denied
INFO: tar: ./etc/gshadow-: Cannot open: Permission denied
INFO: tar: ./etc/security/opasswd: Cannot open: Permission denied
INFO: tar: ./etc/ssl/private: Cannot open: Permission denied
INFO: tar: ./etc/shadow: Cannot open: Permission denied
...
INFO: tar: ./var/log/user.log.2.gz: Cannot open: Permission denied
INFO: Total bytes written: 1823569920 (1.7GiB, 74MiB/s)
INFO: tar: Exiting with failure status due to previous errors
ERROR: Backup of VM 400 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/syno10/dump/vzdump-lxc-400-2023_06_15-11_54_24.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' ./ >/mnt/pve/syno10/dump/vzdump-lxc-400-2023_06_15-11_54_24.dat' failed: exit code 2
INFO: Failed at 2023-06-15 11:54:55
INFO: Backup job finished with errors
job errors
Could you help me with this problem?
Thanks