Skip Navigation

Nextcloud Local vs NAS Storage

I just spun up a Nextcloud VM, and I'm trying to decide the best way to manage the data storage.

For context, I'm running it on proxmox and installed it with This script.

Ideally I'd like to keep most of my storage on my NAS. I'm trying to figure out if I should keep the data directory local and add a NAS NFS share as external storage, or just move the whole data directory to an NFS share.

How are you guys handling your Nextcloud storage?

13 comments
  • My two main boxes are split to be storage vs compute. The NAS box has a minimal CPU and a pile of 3.5 drives for the low cost storage and they hypervisor has all the CPU and fairly small storage.

    Basically the goal in my setup is all the working data is in one place and the handling in another with various snapshots and RAID mixed in to avoid the risk of "oh shit did I just...?" situations.

    So anything that could be called bulk data gets offloaded to the NAS directly via mounts and any cache/working data is held locally. If your lab space grows to a notable level over time eventually you need to consider disk I/O as part of the design and having the bulk data on another box let's you effectively trade some network load in for disk load.

  • Like some others, I have separate storage and compute servers.

    The data directory is an NFS share on my storage server and I run Nextcloud in docker on my compute server.

    I have the NFS share defined as a volume of type nfs in the docker compose, mounted to /var/www/html/data. Nextcloud itself just treats it like a local directory.

13 comments