# Permanently mount remote storage to Nextcloud

**URL:** <https://forum.yunohost.org/t/permanently-mount-remote-storage-to-nextcloud/36633>\
**Category:** Support\
**Tags:** english\
**Created:** [April 25, 2025, 8:35am UTC](https://forum.yunohost.org/t/permanently-mount-remote-storage-to-nextcloud/36633 "2025-04-25T08:35:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacobb](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/f14d63/32.png) [@jacobb](https://forum.yunohost.org/u/jacobb)\
**Post date:** [April 25, 2025, 8:35am UTC](https://forum.yunohost.org/t/permanently-mount-remote-storage-to-nextcloud/36633/1 "2025-04-25T08:35:54Z")

</div>

**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

---

<div class="post-metadata">

**Author:** ![genma](https://forum.yunohost.org/user_avatar/forum.yunohost.org/genma/32/746_2.png) [@genma](https://forum.yunohost.org/u/genma)\
**Post date:** [April 25, 2025, 9:32am UTC](https://forum.yunohost.org/t/permanently-mount-remote-storage-to-nextcloud/36633/2 "2025-04-25T09:32:04Z")

</div>

Hetzner provides some documentation about mounting a Storage Box

> **[Access with SAMBA/CIFS - Hetzner Docs](https://docs.hetzner.com/storage/storage-box/access/access-samba-cifs/)**

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

---

<div class="post-metadata">

**Author:** ![jacobb](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/f14d63/32.png) [@jacobb](https://forum.yunohost.org/u/jacobb)\
**Post date:** [April 25, 2025, 11:09am UTC](https://forum.yunohost.org/t/permanently-mount-remote-storage-to-nextcloud/36633/3 "2025-04-25T11:09:39Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![zeroheure](https://forum.yunohost.org/user_avatar/forum.yunohost.org/zeroheure/32/5970_2.png) [@zeroheure](https://forum.yunohost.org/u/zeroheure)\
**Post date:** [April 26, 2025, 8:29pm UTC](https://forum.yunohost.org/t/permanently-mount-remote-storage-to-nextcloud/36633/4 "2025-04-26T20:29:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [April 26, 2025, 9:01pm UTC](https://forum.yunohost.org/t/permanently-mount-remote-storage-to-nextcloud/36633/5 "2025-04-26T21:01:05Z")

</div>

Sftp [https://docs.hetzner.com/storage/storage-box/access/access-ftp-ftps](https://docs.hetzner.com/storage/storage-box/access/access-ftp-ftps)

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [May 26, 2025, 9:01pm UTC](https://forum.yunohost.org/t/permanently-mount-remote-storage-to-nextcloud/36633/6 "2025-05-26T21:01:37Z")

</div>

Closed on May 26, 2025, 9:01pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
