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?

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 day ago

    Is the storage shared with other software, or are the NAS and Proxmox two different machines? Or why bother to set up NFS at all?

    I keep most of my usual data local. But I’ve also added some external storage to Nextcloud, that’d be a large harddisk that contains some music and TV recordings, Linux ISOs and rarely used stuff. It’s mounted read-only most of the times and spins down unless I need to access my achived stuff. That’s the main reason why I keep it separate.

      • hendrik@palaver.p3x.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        24 hours ago

        I meant the other side. If you use 200GB of your Proxmox, you don’t need to transfer it to the NAS. Which is the question here. I don’t do it, because it’s mostly calendars, contacts and like 10GB of data on Nextcloud, which I’m currently working on, or sharing with friends. And the “NAS” is sleeping most of the day. But if OP wants all their data stored on a NAS, they might very well configure Nextcloud to use NFS and do it that way.

    • monty33OP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      Yea proxmox on one machine and a separate machine running truenas and serving NFS

      • hendrik@palaver.p3x.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        24 hours ago

        Sure. That’d be a valid use-case. I don’t think I can recommended anything, here. Both should work fine. And you can always run into some unforeseen consequences in a few years. Especially once you decide to change something about your setup. But these things are hard to factor in. I often tend to prefer the easier solution over the more complex one. That helps with maintainability. But that approach doesn’t always apply.

        Edit: If you want everything stored on the NAS, just do it.