How should I connect best the PBS with the QNAP NFS, iSCSI ore what else
Do what works for you! NFS is probably the easiest.
Both NFS and iSCSI needs to go over the wire for each and every single chunk - both
may work and both may be slow.
If QNAP utilizes only rotating rust it may work for
some backups but it will probably
not work for a ton of them. (Yes, this is a suspicion, not approved for QNAP.)
For good performance PBS wants to have local storage as
it needs IOPS:
https://pbs.proxmox.com/docs/installation.html#recommended-server-system-requirements
That said..., I do use NFS for some PBS datastore and I am fine. But I really had to add some "accelerator" in form of metadata-SSDs into my storage box.
Copied from another thread of mine because of my suspicion that your QNAP is not "SSD-only":
... This worked. At first. With the amount of backups stored the number of chunks increased.
After several weeks(!) of adding more backups I had the effect that I could not list the backups in the Web Gui anymore. The first click just got a timeout. When I clicked a second time the most of the backups listing was already read into cache and now this second click worked.
The solution for my problem would be easy: kick out rotating rust. Yeah, that would've been expensive...
So
my solution (better: workaround) was to introduce fast meta data storage. This approach is possible for ZFS (with a fast "Special Device" added
before filling in much data) and also (for example) for brtfs on a Synology.
For me the "lesson learned" was no surprise as it is documented everywhere:
PBS needs IOPS!