First of all: this guide worked great!
Posting a problem that spontaniously appeared days ago + my solution below so others can benefit.
---
My setup somehow started to fail some days ago. It appears to be on the PBS end: it does not see "pbs" as a directory.
Running Unraid 6.12.11 and BPS (Proxmox Backup Server) 3.2-4 ..
If you see one of these problems:
A. In PVE (Proxmox Virtual Engine) a backup fails with this error in the log:
Code:
INFO: creating Proxmox Backup Server archive 'vm/102/2024-08-08T05:00:28Z'
INFO: starting kvm to execute backup task
ERROR: VM 102 qmp command 'backup' failed - backup connect failed: command error: unable to create backup group "/mnt/backup_proxmox/pbs/vm/102" - Not a directory (os error 20)
INFO: aborting backup job
B. In PBS (Proxmox Backup Server) a backup fails with this error in the log:
Code:
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating Proxmox Backup Server archive 'vm/102/2024-08-08T05:00:48Z'
INFO: issuing guest-agent 'fs-freeze' command
INFO: issuing guest-agent 'fs-thaw' command
ERROR: VM 105 qmp command 'backup' failed - backup connect failed: command error: unable to create backup group "/mnt/backup_proxmox/pbs/vm/102" - Not a directory (os error 20)
INFO: aborting backup job
C. On PBS console, the folder is apparently not recognized as a folder anymore:
Code:
root@pbs:/mnt/backup_proxmox/pbs# ls
ls: cannot open directory '.': Not a directory
D. As a result of the above, in PVE (or PBS) the webinterface can show an error 400/500 when navigating the Storage/Backups screens.
Try these steps:
- On PVE > datacenter > Storage remove and add the PBS storage.
- On PVE > datacenter > Backups edit and re-select this PBS storage.
- Reboot both PBS and PVE.
These steps allowed me to trigger manual backup jobs in PVE.
I found that other systems (or the NAS/Unraid itself) can browse this folder without problems, so thats why I expect the problem to be in the VM or BPS itself.
Cause unknown to me:
No settings have not been altered, the backup just stopped working days ago. Might be after I updated PVE/PBS packages ..?
Insights welcome.