Nextcloud data encryption

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 :slight_smile:

Hello there,

Did you read the wiki page for Nextcloud?

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?

Again from the wiki the directory is configurable. However you could merely mount the 1TB drive to the /mnt/dietpi_userdata/nextcloud_data

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

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.