Ich benutze die Backup-Funktion von proxmox 7.2-11. Seit vier Tagen habe ich Fehler bei der Sicherung meiner Container. Ich habe dieses Problem nur bei den Versionen 10 und 11 von débian. Bei Version 9 tritt das Problem nicht auf.
Hier sind die Fehlermeldungen
With stop vm
INFO: starting new backup job: vzdump 116 --compress 0 --storage qnap-sauv --mode stop --notes-template '{{guestname}}' --mailnotification always --mailto clamm@bliwe.com --node pve --all 0
INFO: Starting Backup of VM 116 (lxc)
INFO: Backup started at 2023-09-16 10:37:16
INFO: status = running
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: ct-wordpress
INFO: including mount point rootfs ('/') in backup
INFO: stopping virtual guest
INFO: creating vzdump archive '/mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_37_16.tar'
INFO: tar: /mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_37_16.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: restarting vm
failed to connect to monitor socket: Connection refused
INFO: guest is online again after 3 seconds
ERROR: Backup of VM 116 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/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_37_16.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/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_37_16.dat' failed: exit code 2
INFO: Failed at 2023-09-16 10:37:19
INFO: Backup job finished with errors
TASK ERROR: job errors
With snapshot vm
INFO: starting new backup job: vzdump 116 --mailnotification always --notes-template '{{guestname}}' --all 0 --node pve --mailto clamm@bliwe.com --storage qnap-sauv --compress gzip --mode snapshot
INFO: Starting Backup of VM 116 (lxc)
INFO: Backup started at 2023-09-16 10:39:21
INFO: status = running
INFO: CT Name: ct-wordpress
INFO: including mount point rootfs ('/') in backup
INFO: mode failure - some volumes do not support snapshots
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: CT Name: ct-wordpress
INFO: including mount point rootfs ('/') in backup
INFO: temporary directory is on NFS, disabling xattr and acl support, consider configuring a local tmpdir via /etc/vzdump.conf
INFO: starting first sync /proc/877003/root/ to /mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tmp
INFO: first sync finished - transferred 3.33G bytes in 518s
INFO: suspending guest
INFO: starting final sync /proc/877003/root/ to /mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tmp
INFO: final sync finished - transferred 72.32M bytes in 19s
INFO: resuming guest
INFO: guest is online again after 19 seconds
INFO: creating vzdump archive '/mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tar.gz'
INFO: tar: /mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
ERROR: Backup of VM 116 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/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tmp' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tmp' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' . | gzip --rsyncable >/mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tar.dat' failed: exit code 2
INFO: Failed at 2023-09-16 10:49:28
INFO: Backup job finished with errors
TASK ERROR: job errors
Hier sind die Fehlermeldungen
With stop vm
INFO: starting new backup job: vzdump 116 --compress 0 --storage qnap-sauv --mode stop --notes-template '{{guestname}}' --mailnotification always --mailto clamm@bliwe.com --node pve --all 0
INFO: Starting Backup of VM 116 (lxc)
INFO: Backup started at 2023-09-16 10:37:16
INFO: status = running
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: ct-wordpress
INFO: including mount point rootfs ('/') in backup
INFO: stopping virtual guest
INFO: creating vzdump archive '/mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_37_16.tar'
INFO: tar: /mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_37_16.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: restarting vm
failed to connect to monitor socket: Connection refused
INFO: guest is online again after 3 seconds
ERROR: Backup of VM 116 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/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_37_16.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/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_37_16.dat' failed: exit code 2
INFO: Failed at 2023-09-16 10:37:19
INFO: Backup job finished with errors
TASK ERROR: job errors
With snapshot vm
INFO: starting new backup job: vzdump 116 --mailnotification always --notes-template '{{guestname}}' --all 0 --node pve --mailto clamm@bliwe.com --storage qnap-sauv --compress gzip --mode snapshot
INFO: Starting Backup of VM 116 (lxc)
INFO: Backup started at 2023-09-16 10:39:21
INFO: status = running
INFO: CT Name: ct-wordpress
INFO: including mount point rootfs ('/') in backup
INFO: mode failure - some volumes do not support snapshots
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: CT Name: ct-wordpress
INFO: including mount point rootfs ('/') in backup
INFO: temporary directory is on NFS, disabling xattr and acl support, consider configuring a local tmpdir via /etc/vzdump.conf
INFO: starting first sync /proc/877003/root/ to /mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tmp
INFO: first sync finished - transferred 3.33G bytes in 518s
INFO: suspending guest
INFO: starting final sync /proc/877003/root/ to /mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tmp
INFO: final sync finished - transferred 72.32M bytes in 19s
INFO: resuming guest
INFO: guest is online again after 19 seconds
INFO: creating vzdump archive '/mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tar.gz'
INFO: tar: /mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
ERROR: Backup of VM 116 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/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tmp' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tmp' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' . | gzip --rsyncable >/mnt/pve/qnap-sauv/dump/vzdump-lxc-116-2023_09_16-10_39_21.tar.dat' failed: exit code 2
INFO: Failed at 2023-09-16 10:49:28
INFO: Backup job finished with errors
TASK ERROR: job errors