Hi folks, Relative noob here trying to setup a proxmox backup server, but running into some issues with backups completing.
My PBS is running as a VM under Unraid (offsite from cluster), with a shared folder being passed to the VM. I'm passing my backup share to the VM as follows:
With that, I'm mounting in PBS as /Backup in /etc/fstab
I can read/write to /Backup in commandline, and when I run a backup job from my cluster, the backup filestructure gets generated on the drive (ex: /vm/121/owner) But the backups fail with "EINVAL: Invalid argument"
Going to Datastore>Content on pbs web returns "Bad Request (400) unable to detect file type"
My research into this already suggests maybe some filetype issue or permissions issue, but I'm unsure where to check/diagnose this, and I'm confused as to why I am able to see contents and it's writing folders if that would be the case.
Kinda stumped on this one, looking for any guidance / suggestions on what to try / where to look.
Cheers!
My PBS is running as a VM under Unraid (offsite from cluster), with a shared folder being passed to the VM. I'm passing my backup share to the VM as follows:
XML:
<filesystem type='mount' accessmode='passthrough'>
<source dir='/mnt/user/Backups/'/>
<target dir='pbsdir'/>
<alias name='fs0'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</filesystem>
With that, I'm mounting in PBS as /Backup in /etc/fstab
Bash:
pbsdir /Backup 9p trans=virtio,version=9p2000.L,_netdev,rw 0 0
I can read/write to /Backup in commandline, and when I run a backup job from my cluster, the backup filestructure gets generated on the drive (ex: /vm/121/owner) But the backups fail with "EINVAL: Invalid argument"
Code:
121: 2021-11-26 15:51:01 INFO: Starting Backup of VM 121 (qemu)
121: 2021-11-26 15:51:01 INFO: status = running
121: 2021-11-26 15:51:01 INFO: VM Name: REDACTED
121: 2021-11-26 15:51:01 INFO: include disk 'scsi0' 'data:vm-121-disk-0' 70G
121: 2021-11-26 15:51:01 INFO: backup mode: snapshot
121: 2021-11-26 15:51:01 INFO: ionice priority: 7
121: 2021-11-26 15:51:01 INFO: snapshots found (not included into backup)
121: 2021-11-26 15:51:01 INFO: creating Proxmox Backup Server archive 'vm/121/2021-11-26T20:51:01Z'
121: 2021-11-26 15:51:01 INFO: enabling encryption
121: 2021-11-26 15:51:02 ERROR: VM 121 qmp command 'backup' failed - backup register image failed: command error: EINVAL: Invalid argument
121: 2021-11-26 15:51:02 INFO: aborting backup job
121: 2021-11-26 15:51:02 ERROR: Backup of VM 121 failed - VM 121 qmp command 'backup' failed - backup register image failed: command error: EINVAL: Invalid argument
My research into this already suggests maybe some filetype issue or permissions issue, but I'm unsure where to check/diagnose this, and I'm confused as to why I am able to see contents and it's writing folders if that would be the case.
Kinda stumped on this one, looking for any guidance / suggestions on what to try / where to look.
Cheers!