# Nextcloud data encryption

**URL:** <https://dietpi.com/forum/t/nextcloud-data-encryption/22435>\
**Category:** General Discussion\
**Tags:** nextcloud\
**Created:** [6 January 2025 00:05 UTC](https://dietpi.com/forum/t/nextcloud-data-encryption/22435 "2025-01-06T00:05:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![da1k](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/dc4da7/32.png) [@da1k](https://dietpi.com/forum/u/da1k)\
**Post date:** [6 January 2025 00:05 UTC](https://dietpi.com/forum/t/nextcloud-data-encryption/22435/1 "2025-01-06T00:05:10Z")

</div>

Hello,

I decided to add Nextcloud to my DietPi installation (it’s x64 SFF PC). But comparing to NextCloudPi which I used to use I’m missing few things:

- I had NextCloudPi web interface on port 4443 where I was able to configure whatever I wanted in Nextcloud. Is it something similar here?
- How to turn on data encryption? When I turn in on in admin panel it doesn’t work. Data are still visible.
- I have to drives (system 60GB and data 1TB) and I prefer to move Nextcloud data location to non-system drive. How to do it without moving all user-data folder?
- How to exclude nextcloud data from backup?

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![trendy](https://dietpi.com/forum/user_avatar/dietpi.com/trendy/32/61_2.png) [@trendy](https://dietpi.com/forum/u/trendy)\
**Post date:** [6 January 2025 11:31 UTC](https://dietpi.com/forum/t/nextcloud-data-encryption/22435/2 "2025-01-06T11:31:46Z")

</div>

Hello there,

> [@da1k](#):
>
> I had NextCloudPi web interface on port 4443 where I was able to configure whatever I wanted in Nextcloud. Is it something similar here?

Did you read the [wiki page for Nextcloud](https://dietpi.com/docs/software/cloud/#nextcloud)?

> [@da1k](#):
>
> How to turn on data encryption? When I turn in on in admin panel it doesn’t work. Data are still visible.

I am not familiar with the Nextcloud data encryption, but could you explain a bit what does visible mean? Are you checking in the console from SSH or something else?

> [@da1k](#):
>
> I have to drives (system 60GB and data 1TB) and I prefer to move Nextcloud data location to non-system drive. How to do it without moving all user-data folder?

Again [from the wiki](https://dietpi.com/docs/software/cloud/#nextcloud-faq) the directory is configurable. However you could merely mount the 1TB drive to the `/mnt/dietpi_userdata/nextcloud_data`

> [@da1k](#):
>
> How to exclude nextcloud data from backup?

Run `dietpi-backup` , select Include/Exclude and add a line `- /mnt/dietpi_userdata/nextcloud_data` or whatever directory you ae using.

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [6 January 2025 11:41 UTC](https://dietpi.com/forum/t/nextcloud-data-encryption/22435/3 "2025-01-06T11:41:41Z")

</div>

my comments on this:

1. NC is not a separate app but a web server application. Therefore, it runs an Apache, Nginx or Lighttpd. (depending on what you chose during installation). If you know what you are doing, you can freely configure the web server, including port used.

2. Maybe something to ask in the NC forum as it is a specific question about NC itself.

3. Theoretically you can do that. Preferably before installing NC. We have an extra point for this in our `dietpi.txt`. Afterwards it is a bit more complicated.

4. If the data is on an external disk and this was then mounted directly under `/mnt`, the disk should be automatically excluded from the backup. Otherwise @trendy has described the way.

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [5 July 2025 11:41 UTC](https://dietpi.com/forum/t/nextcloud-data-encryption/22435/4 "2025-07-05T11:41:44Z")

</div>

Closed on 5 July 2025 11:41 UTC

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