Backup of Proxmox fails

Bombarde32

New Member
Feb 27, 2025
3
0
1
Hello,

I have a problem with Proxmox Backups. I have only my Home Assistant running on Proxmox and I want to backup it to a Qnap Nas.
The Nas Folder is added successfully but when I try to backup on this path, Proxmox gives the following error:

INFO: starting new backup job: vzdump 100 --mode snapshot --remove 0 --notes-template '{{guestname}}' --notification-mode auto --compress zstd --node pve --storage Backups_Proxmox
INFO: Starting Backup of VM 100 (qemu)
INFO: Backup started at 2025-02-27 20:57:40
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: VM Name: haos12.4
INFO: include disk 'scsi0' 'local-lvm:vm-100-disk-1' 32G
INFO: include disk 'efidisk0' 'local-lvm:vm-100-disk-0' 4M
ERROR: Backup of VM 100 failed - unable to open '/mnt/pve/Backups_Proxmox/dump/vzdump-qemu-100-2025_02_27-20_57_40.tmp/qemu-server.conf' - Stale file handle
INFO: Failed at 2025-02-27 20:57:40
INFO: Backup job finished with errors
INFO: notified via target `mail-to-root`
TASK ERROR: job errors


Google gives some answers for this problem but unfortunately I don´t understand them.
What does it mean?

Thanks a lot

Markus
 
Perhaps the NAS isn't responding quickly enough, causing timeouts. You can check if the mount is still active when the backup runs. Using the 'mount' command or 'df -h' could show if the mount point is still there. If it's not, remounting might help. Another possibility is file permissions. The Proxmox backup process runs as root, so the NAS share needs to allow root access.
 
Hi all,

thank you very much for your answers. I´m sorry to be really new in Proxmox and to have no long experience with it.

@Magnus-mercer: I activated the SSH in my NAS and after a reboot I get this little different log:
INFO: starting new backup job: vzdump 100 --compress zstd --storage Backups_Proxmox --node pve --remove 0 --mode snapshot --notification-mode auto --notes-template '{{guestname}}'
INFO: Starting Backup of VM 100 (qemu)
INFO: Backup started at 2025-02-28 16:57:30
INFO: status = running
trying to acquire lock...
OK
INFO: VM Name: haos12.4
INFO: include disk 'scsi0' 'local-lvm:vm-100-disk-1' 32G
INFO: include disk 'efidisk0' 'local-lvm:vm-100-disk-0' 4M
INFO: backup mode: snapshot
INFO: ionice priority: 7
ERROR: Backup of VM 100 failed - unable to open '/mnt/pve/Backups_Proxmox/dump/vzdump-qemu-100-2025_02_28-16_57_30.tmp/qemu-server.conf' - Stale file handle
INFO: Failed at 2025-02-28 16:57:35
INFO: Backup job finished with errors
INFO: notified via target `mail-to-root`
TASK ERROR: job errors

Seems like the Share couldn´t still be opened.

@fiona: I´m reading through the threads you gave me. Is there a possibility to set the noseverino mount option via GUI, not with the script? I´m not very familiar with it...

Thank you

Markus
 
@fiona: I´m reading through the threads you gave me. Is there a possibility to set the noseverino mount option via GUI, not with the script? I´m not very familiar with it...
Unfortunately, such advanced mount options are not exposed via UI currently. The command in your case would just be
Code:
pvesm set Backups_Proxmox --options noserverino
You need to unmount the storage (or reboot the Proxmox VE node) to actually apply the new options.

If you wish to clear the options again in the future, you could use
Code:
pvesm set Backups_Proxmox --delete options
Again, followed by unmounting the storage (or reboot the Proxmox VE node).
 
Hi Fiona,

thank you very much for the detailed help.
Meanwhile I tried to mount the storage as a NFS. With success. But I will try your code for the SMB mode.

Best regards
Markus