Backup Permission denied

TMGG

Active Member
Jun 16, 2019
62
1
28
Hallo, ich bekomme eine Fehlermeldung beim Backup.
Backup soll auf NFS-Host des QNAP NAS geschrieben werden.

Permission denied

Code:
2019-06-16 17:16:19 INFO: Starting Backup of VM 101 (lxc)
2019-06-16 17:16:19 INFO: status = running
2019-06-16 17:16:19 INFO: CT Name: IOBROKER
2019-06-16 17:16:19 INFO: backup mode: snapshot
2019-06-16 17:16:19 INFO: ionice priority: 7
2019-06-16 17:16:19 INFO: create storage snapshot 'vzdump'
2019-06-16 17:16:20 INFO: creating archive '/mnt/pve/qnapbackup/dump/vzdump-lxc-101-2019_06_16-17_16_19.tar.lzo'
2019-06-16 17:16:20 INFO: tar: /mnt/pve/qnapbackup/dump/vzdump-lxc-101-2019_06_16-17_16_19.tmp: Cannot open: Permission denied
2019-06-16 17:16:20 INFO: tar: Error is not recoverable: exiting now
2019-06-16 17:16:20 INFO: remove vzdump snapshot
2019-06-16 17:16:20 ERROR: Backup of VM 101 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/qnapbackup/dump/vzdump-lxc-101-2019_06_16-17_16_19.tmp' ./etc/vzdump/pct.conf '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | lzop >/mnt/pve/qnapbackup/dump/vzdump-lxc-101-2019_06_16-17_16_19.tar.dat' failed: exit code 2
 
Sorry hab erst danach gesehen dass es auch einen Deutsch Bereich gibt

Wie muss ich vorgehen um den NFS zu mounten.
Ich hab im QNAP die NFS Freigabe erstellt
 
Wie muss ich vorgehen um den NFS zu mounten.
Ganz normal über Datacenter und dann Storage, alles weitere kannst du mit einem Klick auf "Hilfe" nachlesen, wenn dabei etwas unklar ist. Aber du hast den Storage doch bereits hinzugefügt? Sonst hättest du doch gar nicht erst diesen auswählen können.

Ich hab im QNAP die NFS Freigabe erstellt
Achte darauf, dass der Mount auch Beschreibar ist. Wie und wo das geht, am besten dem Handbuch deiner NAS entnehmen.
 
Hi Danke für deine Rückmeldung. Ja genau Storage von NAS habe ich bereits eingebunden und wird auch angezeigt.
Erst beim Backup kommt die Meldung. Beim QNAP NAS habe ich eine NFS-Freigabe erstellt (R/W für everyone) ???
Deshalb weiß ich gerade nicht mehr wo ich noch weiter machen soll?
 
Beim QNAP NAS habe ich eine NFS-Freigabe erstellt (R/W für everyone) ???
Fürs erste kannst du das so setzen. Anschließend kannst du das ja noch weiter einschränken um zu sehen wo es hängt. Eventuell reicht dir hier auch einfach eine Beschränkung auf eine IP / Subnet?
 
Ja genau - aktuell habe ich die Einschränkungen so niedrig, dass ich sehe ob es überhaupt funktioniert. Nur ich bekomme immer die o.g. Fehlermeldung - auch bei dieser Einstellung?
 
Mit diesen QNAP NAS Einstellungen bekomme ich jetzt folgende Fehlermeldng

Code:
()
INFO: starting new backup job: vzdump 110 --node NUK --remove 0 --mode snapshot --compress lzo --storage qnapbackup
ERROR: Backup of VM 110 failed - unable to create temporary directory '/mnt/pve/qnapbackup/dump/vzdump-lxc-110-2019_06_17-17_43_46.tmp' at /usr/share/perl5/PVE/VZDump.pm line 824.
INFO: Failed at 2019-06-17 17:43:46
INFO: Backup job finished with errors
TASK ERROR: job errors
 

Attachments

  • NFS.png
    NFS.png
    43.6 KB · Views: 17

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!