Permanently mount remote storage to Nextcloud

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.12
How are you able to access your server: SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No

Describe your issue

I have rented a VPS at Hetzner and have installed YunoHost on it, and within YunoHost I have installed an instance of Nextcloud. The capacity of the server is only 40GB so I wish to add some storage. For that I have rented a 1TB Storage Box at Hetzner. Now I want to mount the Storage Box to the Nextcloud instance, so that all user data is stored there.

I have managed to mount the Storage Box to the Nextcloud data directory by using SFTP but I am struggling to mount it permanently. As I understand, I have to add some commands to fstab.

How can I figure out which command, and where can I finde the necessary information?

Share relevant logs or error messages

Not relevant

Hetzner provides some documentation about mounting a Storage Box

Can you take a look on it and ask some questions here if you need help ?

Hi genma. Thanks for your reply.
That document does not tell how to mount over SFTP. It does tell how to mount over samba/cifs, but I believe Hetzner recommends SFTP.

Did you tried to install Armadietto (available in Yuno) ? it is a remote storage apps, using the remoteStorage protocol..

Sftp https://docs.hetzner.com/storage/storage-box/access/access-ftp-ftps