Not sure if this belongs in Support or not, so I’m starting here. Please move if needed!
I’m looking for some advice, and maybe I need my mind changed about how I view Nextloud. I’m a home user running Nextcloud in a VM ( The Hansson IT VM) on my AMD-based NAS. It’s got a little bit of power, but it’s not a Ryzen 3 or anything like that.
When I first setup Nextcloud, I wasn’t committed to it. So, I used an NFS mount inside the VM as the data directory. The NAS provides this NFS share. I don’t interact with the files except thru Nextcloud. But, I do backup this directory on the NAS using my regular backup procedure. I had some peace of mind that if I tore down the Nextcloud instance, I could pretty easily recreate the directory structure natively back on the NAS host, ditching the Nextcloud specific parts.
It’s been a year. I’m convinced I’ll continue to use Nextcloud, but the idea of not having “raw” access these files still bugs me. I’m not entirely sure why, so I thought I would talk this through and get feedback.
-
I don’t need “interactive” access to the files outside of Nextcloud, but I do like the idea of just having a directory of files if things go sideways because I know I could always recreate things from there.
-
I really like the idea of being able to backup the actual data files and folder structure using my existing backup solution, which is Duplicati talking to an S3-like object store.
-
Using NFS from the VM back to the host must have some perf overhead. It’s also another point of failure, but the NFS mount is done in fstab on the VM, so it boots or it doesn’t.
-
I’m using Nextcloud for mostly smaller documents, for a total of about 17GB, but I have started relying on it for larger things and sharing with others outside the house. As this set grows, I guess I just keep growing the VM’s data (2nd) disk? Is it possible to get Nexcloud to store things across different filesystems or do I need to do this under Nextcloud in the OS with LVM or similar?
-
What are my options for backup? I’d need to get regular backups out of the VM so my NAS’ Duplicati jobs can pick it up. It would be ideal if this isn’t just an opaque ball like a VM snapshot.
-
Is there some sort of file export? From Nextcloud? Something that gives just the raw data?
-
If I do stay with the data dir on a file share, what are the best practices for this?