NFS Backup LXC Container Fehler

Red Bull

New Member
Dec 28, 2022
17
1
3
abend
hab mir auf den Synology NFS eingerichtet
Backup von einer VM läuft ohne Fehlermeldung durch

aber bei den LXC Container kommt

INFO: starting new backup job: vzdump 202 --compress zstd --notes-template '{{guestname}}' --storage Synology --mode snapshot --remove 0 --node pve
INFO: Starting Backup of VM 202 (lxc)
INFO: Backup started at 2023-02-18 21:26:47
INFO: status = running
INFO: CT Name: AdGuard
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
Logical volume "snap_vm-202-disk-0_vzdump" created.
INFO: creating vzdump archive '/mnt/pve/Synology/dump/vzdump-lxc-202-2023_02_18-21_26_47.tar.zst'
INFO: tar: /mnt/pve/Synology/dump/vzdump-lxc-202-2023_02_18-21_26_47.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: cleanup temporary 'vzdump' snapshot
Logical volume "snap_vm-202-disk-0_vzdump" successfully removed
ERROR: Backup of VM 202 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/dump/vzdump-lxc-202-2023_02_18-21_26_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/Synology/dump/vzdump-lxc-202-2023_02_18-21_26_47.tar.dat' failed: exit code 2
INFO: Failed at 2023-02-18 21:26:48
INFO: Backup job finished with errors
TASK ERROR: job errors
kann mir wer weiter helfen ?

Danke
 
Ich vermute mal der Fehler tritt auf, wenn du einen unprivilegierten LXC sichern willst?
 
Das funktioniert leider nicht ohne "Umwege".

Gab hier mal einen Workaround um das Backup im PVE-Temp Ordner zu erstellen (muss natürlich Platz sein), und danach aufs NAS zu verschieben.

Finde es auf die schnelle jetzt gerade nicht.
 
  • Like
Reactions: Red Bull

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!