[SOLVED] Backup nach Update auf 7.2-3 funktioniert nicht mehr

Kusselin

Active Member
Mar 26, 2021
154
7
38
44
Hallo Zusammen,

nach dem o. g. Update funzt das Backup nicht mehr :-(

Was sagt das Log den aus?

Code:
INFO: starting new backup job: vzdump 200 --storage Synology_DS213 --node pve --mode snapshot --remove 0 --compress zstd --notes-template '{{guestname}}'
INFO: Starting Backup of VM 200 (lxc)
INFO: Backup started at 2022-05-30 10:51:18
INFO: status = running
INFO: CT Name: iobroker-live
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
  WARNING: You have not turned on protection against thin pools running out of space.
  WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.
  Logical volume "snap_vm-200-disk-0_vzdump" created.
  WARNING: Sum of all thin volume sizes (<424.06 GiB) exceeds the size of thin pool pve/data and the amount of free space in volume group (<16.00 GiB).
INFO: creating vzdump archive '/mnt/pve/Synology_DS213/dump/vzdump-lxc-200-2022_05_30-10_51_18.tar.zst'
INFO: tar: /mnt/pve/Synology_DS213/dump/vzdump-lxc-200-2022_05_30-10_51_18.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: cleanup temporary 'vzdump' snapshot
  Logical volume "snap_vm-200-disk-0_vzdump" successfully removed
ERROR: Backup of VM 200 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/Synology_DS213/dump/vzdump-lxc-200-2022_05_30-10_51_18.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/Synology_DS213/dump/vzdump-lxc-200-2022_05_30-10_51_18.tar.dat' failed: exit code 2
INFO: Failed at 2022-05-30 10:51:19
INFO: Backup job finished with errors
TASK ERROR: job errors

über ne Rückinfo was ich hier machen kann bedanke ich mich im Voraus.

Besten Dank.

Gruss

EDIT: Nach dieser Anleitung hat es funktioniert:
https://www.bachmann-lan.de/proxmox-unprivileged-container-backup-failed-permission-denied/
 
Last edited:
Cannot open: Permission denied

Du kannst/darfst/sollst die tmp-datei nicht öffnen....
 
Beim Update des backup client wurde bei mir die vzdump.conf überschrieben. D. h. ich musste den Eintrag
für die tmp-datei neu einfügen:

Code:
nano /etc/vzdump.conf

Dort einfügen:

Code:
tmpdir: /tmp