this post was submitted on 16 Dec 2024
27 points (93.5% liked)

Selfhosted

40645 readers
297 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] m@social.tthi.as 1 points 7 hours ago

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.