# Is it possible to use Nextcloud's main storage on the host?

**URL:** <https://help.nextcloud.com/t/is-it-possible-to-use-nextclouds-main-storage-on-the-host/40292>\
**Category:** 🏷️ General\
**Created:** [November 1, 2018, 4:41am UTC](https://help.nextcloud.com/t/is-it-possible-to-use-nextclouds-main-storage-on-the-host/40292 "2018-11-01T04:41:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ieure](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ieure/32/11601_2.png) [@ieure](https://help.nextcloud.com/u/ieure)\
**Post date:** [November 1, 2018, 4:41am UTC](https://help.nextcloud.com/t/is-it-possible-to-use-nextclouds-main-storage-on-the-host/40292/1 "2018-11-01T04:41:29Z")

</div>

I want to put my Maildir into Nextcloud, and have my Nextcloud host fetch and index new mail.

Is it possible to do this without running a Nextcloud client on the host machine? I have mail archives going back to the early 2000s totaling around 15gb. My Nextcloud host is small, so avoiding doubling the storage like this would be a big win.

I know where it stores all the files, but everything is owned by www-data, which complicates things a bit.

---

<div class="post-metadata">

**Author:** ![IgorWalkers](https://help.nextcloud.com/user_avatar/help.nextcloud.com/igorwalkers/32/10982_2.png) [@IgorWalkers](https://help.nextcloud.com/u/IgorWalkers)\
**Post date:** [November 1, 2018, 5:18am UTC](https://help.nextcloud.com/t/is-it-possible-to-use-nextclouds-main-storage-on-the-host/40292/2 "2018-11-01T05:18:16Z")

</div>

You can use [External storage support](https://docs.nextcloud.com/server/14/admin_manual/configuration_files/external_storage_configuration_gui.html) for this.

---

<div class="post-metadata">

**Author:** ![ieure](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ieure/32/11601_2.png) [@ieure](https://help.nextcloud.com/u/ieure)\
**Post date:** [November 2, 2018, 5:11am UTC](https://help.nextcloud.com/t/is-it-possible-to-use-nextclouds-main-storage-on-the-host/40292/3 "2018-11-02T05:11:59Z")

</div>

Just to make sure I understand the suggestion, you’re saying I keep my email in ~/Maildir, and use external storage with the local backend to access that from Nextcloud?

I suppose that works, but it seems likely that one of two undesirable things would occur:

- My mail wouldn’t get backed up with the rest of my Nextcloud data, or
- Nextcloud would pull files from ~/Maildir into its storage, which has the issue with doubling required storage.

I think my best bet might be to use a FUSE webdav mount to access the data.

---

<div class="post-metadata">

**Author:** ![vvong](https://help.nextcloud.com/letter_avatar/vvong/32/5_5575768a8748004e209b776fc1b2916d.png) [@vvong](https://help.nextcloud.com/u/vvong)\
**Post date:** [November 2, 2018, 5:37am UTC](https://help.nextcloud.com/t/is-it-possible-to-use-nextclouds-main-storage-on-the-host/40292/4 "2018-11-02T05:37:11Z")

</div>

I use External storage for other purpose. Just want to share that it won’t do an extra backup that double the storage usage. Your case should be triggered by some other settings you did before.

---

<div class="post-metadata">

**Author:** ![IgorWalkers](https://help.nextcloud.com/user_avatar/help.nextcloud.com/igorwalkers/32/10982_2.png) [@IgorWalkers](https://help.nextcloud.com/u/IgorWalkers)\
**Post date:** [November 2, 2018, 1:43pm UTC](https://help.nextcloud.com/t/is-it-possible-to-use-nextclouds-main-storage-on-the-host/40292/5 "2018-11-02T13:43:46Z")

</div>

Yes, you understood me correctly, but let me explain something for to be sure:

1. as @vvong said it will not double the storage usage
2. it will appear as external storage in your client just check it for syncing ![%D0%90%D0%BD%D0%BD%D0%BE%D1%82%D0%B0%D1%86%D0%B8%D1%8F](https://help.nextcloud.com/uploads/default/original/2X/3/349287647b95ad250e605471cb413432442ffc6a.png)
3. no reason for webdav if your folder is local on same host
