Hallo,
ich möchte auf meinem Proxmox ein Backup einrichten. Das Backup soll zu meiner NAS übertragen werden.
1.
Ich habe auf meiner NAS NFS aktiviert und den Proxmox Host über eine IP-Adresse zugelassen.
Der User hat auch Admin Rechte.
2.
Auf dem Proxmox habe ich ein neues Storage über NFS eingebunden.
Ich habe dann als Test mal versucht einen Container zu sichern. Der leider dann laut Berechtigungen fehlschlägt. (Backup auf lokale Festplatte funktioniert ohne Probleme).
Hier die fehlermeldung:
INFO: starting new backup job: vzdump 100 --mode snapshot --remove 0 --storage Backup --compress zstd --node Proxmox
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2020-08-23 20:22:22
INFO: status = running
INFO: CT Name: Pi-hole
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: Pi-hole
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/12344/root/ to /mnt/pve/Backup/dump/vzdump-lxc-100-2020_08_23-20_22_22.tmp
INFO: first sync finished - transferred 949.32M bytes in 57s
INFO: suspending guest
INFO: starting final sync /proc/12344/root/ to /mnt/pve/Backup/dump/vzdump-lxc-100-2020_08_23-20_22_22.tmp
INFO: final sync finished - transferred 368.64K bytes in 3s
INFO: resuming guest
INFO: guest is online again after 3 seconds
INFO: creating vzdump archive '/mnt/pve/Backup/dump/vzdump-lxc-100-2020_08_23-20_22_22.tar.zst'
INFO: tar: ./var/cache/apt/archives/partial: Cannot open: Permission denied
INFO: tar: ./var/cache/lighttpd: Cannot open: Permission denied
INFO: tar: ./var/log/syslog: Cannot open: Permission denied
INFO: tar: ./var/log/mail.log: Cannot open: Permission denied
INFO: tar: ./var/log/auth.log: Cannot open: Permission denied
INFO: tar: ./var/log/lighttpd: Cannot open: Permission denied
INFO: tar: ./var/lib/apt/lists/partial: Cannot open: Permission denied
INFO: tar: ./var/lib/postfix/master.lock: Cannot open: Permission denied
INFO: tar: ./var/spool/rsyslog: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/incoming: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/flush: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/maildrop: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/saved: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/corrupt: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/deferred: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/defer: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/bounce: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/hold: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/trace: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/public: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/private: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/active: Cannot open: Permission denied
INFO: Total bytes written: 984852480 (940MiB, 41MiB/s)
INFO: tar: Exiting with failure status due to previous errors
ERROR: Backup of VM 100 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/Backup/dump/vzdump-lxc-100-2020_08_23-20_22_22.tmp' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/pve/Backup/dump/vzdump-lxc-100-2020_08_23-20_22_22.tmp' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' . | zstd --rsyncable '--threads=1' >/mnt/pve/Backup/dump/vzdump-lxc-100-2020_08_23-20_22_22.tar.dat' failed: exit code 2
INFO: Failed at 2020-08-23 20:23:59
INFO: Backup job finished with errors
TASK ERROR: job errors
Danke
ich möchte auf meinem Proxmox ein Backup einrichten. Das Backup soll zu meiner NAS übertragen werden.
1.
Ich habe auf meiner NAS NFS aktiviert und den Proxmox Host über eine IP-Adresse zugelassen.
Der User hat auch Admin Rechte.
2.
Auf dem Proxmox habe ich ein neues Storage über NFS eingebunden.
Ich habe dann als Test mal versucht einen Container zu sichern. Der leider dann laut Berechtigungen fehlschlägt. (Backup auf lokale Festplatte funktioniert ohne Probleme).
Hier die fehlermeldung:
INFO: starting new backup job: vzdump 100 --mode snapshot --remove 0 --storage Backup --compress zstd --node Proxmox
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2020-08-23 20:22:22
INFO: status = running
INFO: CT Name: Pi-hole
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: Pi-hole
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/12344/root/ to /mnt/pve/Backup/dump/vzdump-lxc-100-2020_08_23-20_22_22.tmp
INFO: first sync finished - transferred 949.32M bytes in 57s
INFO: suspending guest
INFO: starting final sync /proc/12344/root/ to /mnt/pve/Backup/dump/vzdump-lxc-100-2020_08_23-20_22_22.tmp
INFO: final sync finished - transferred 368.64K bytes in 3s
INFO: resuming guest
INFO: guest is online again after 3 seconds
INFO: creating vzdump archive '/mnt/pve/Backup/dump/vzdump-lxc-100-2020_08_23-20_22_22.tar.zst'
INFO: tar: ./var/cache/apt/archives/partial: Cannot open: Permission denied
INFO: tar: ./var/cache/lighttpd: Cannot open: Permission denied
INFO: tar: ./var/log/syslog: Cannot open: Permission denied
INFO: tar: ./var/log/mail.log: Cannot open: Permission denied
INFO: tar: ./var/log/auth.log: Cannot open: Permission denied
INFO: tar: ./var/log/lighttpd: Cannot open: Permission denied
INFO: tar: ./var/lib/apt/lists/partial: Cannot open: Permission denied
INFO: tar: ./var/lib/postfix/master.lock: Cannot open: Permission denied
INFO: tar: ./var/spool/rsyslog: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/incoming: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/flush: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/maildrop: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/saved: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/corrupt: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/deferred: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/defer: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/bounce: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/hold: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/trace: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/public: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/private: Cannot open: Permission denied
INFO: tar: ./var/spool/postfix/active: Cannot open: Permission denied
INFO: Total bytes written: 984852480 (940MiB, 41MiB/s)
INFO: tar: Exiting with failure status due to previous errors
ERROR: Backup of VM 100 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/Backup/dump/vzdump-lxc-100-2020_08_23-20_22_22.tmp' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/pve/Backup/dump/vzdump-lxc-100-2020_08_23-20_22_22.tmp' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' . | zstd --rsyncable '--threads=1' >/mnt/pve/Backup/dump/vzdump-lxc-100-2020_08_23-20_22_22.tar.dat' failed: exit code 2
INFO: Failed at 2020-08-23 20:23:59
INFO: Backup job finished with errors
TASK ERROR: job errors
Danke