You need the proxmox-backup-client to backup stuff to the PBS. You could create a Debian 11 VM, mount all your SMB/NFS shares there inside the VM and then use cron jobs/systemd timer to automatically run proxmox-backup-client to backup the contents of all the SMB/NFS shares to the PBS.