Storage Management reddit / selfhosted ---------------------------------------------------------------------- Jobbercete · 2023-10-30 21:13 Hi All!! Short introduction, started self-hosting a NexCloud instance using an old Optiplex 7060 SFF that got from work (8th gen i5 + 16Gb ram) and it's been rock solid for well over 6 months, but I poke my head into the self-hosting world and...well, started planning upgrades. Got a new machine at the end of Sept, it's running Proxmox as I plan to run a few LXC's and VM's (13th gen i5 + 64Gb ram). Currently planning the new Nextcloud instance, playing around with the drives... can't figure how to do it right and for the past couple weeks I've tried a few things, just need some fresh minds to share some light if possible? I do have 3x 4Tb drives that I want to use with Nextcloud, but no raid...all separate since my idea is to put 2/3 users per disk (family members to dump pics/docs from phone and move out of GPhotos). So far NextCloud is running on an Ubuntu VM perfectly fine, with one drive added via passthrough. Tried playing with a VM running TrueNas, sharing the drives as SMB shares but started to run into some issues copying files (prob permissions not set correctly 🤷🏻‍♂️) so moved away from it since my brain was hurting while digging info and looking up tutorials... The plan is to backup all three separate drives into a big 12Tb spinning drive "just in case". What would be the best option here? I thought in doing 3x Ubuntu VM's (basically cloning the first one), add one drive per VM and running a backup script to dump the info into the big drive but not sure if that's ok or how to accomplish in a good an reliable way? Any alternative, even if it's going back to TrueNas for managing the disks (and doing snapshots to the big one) but with a good tutorial on connecting the VM and the drives? Apologies if it's a bit messy or if I'm doing it all wrong, still learning! Thanks so much in advance!! :) ---------------------------------------------------------------------- ElevenNotes · 2023-10-30 21:42 Mistake #1: No RAID of any kind, why? Mistake #2: Multiple storage pools for same app. Create a single ZFS pool with your HDD in Proxmox and then create a single VM to run Nextcloud in a container and all other apps too. Expose the ZFS storage via NFS from Proxmox to your VM. Mount the NFS storage in your VM. Profit. Don't forget the 3-2-1(1-0) backup rule or say forever goodbye to your pictures if something goes wrong. ---------------------------------------------------------------------- Jobbercete · 2023-10-30 21:53 Thanks for taking the time & reply!! Always heard the "raid is no backup" thing hence me adding the 4th drive to be safe. Guess I can run your suggestion + adding the extra drive to store snapshots of the zfs pool? ---------------------------------------------------------------------- ElevenNotes · 2023-10-30 21:56 Sure, but why risk losing all your data and having to restore everything from backup just because a single drive failed? That's what RAID is for. Not backup, but not having to do one day of restore for a failed drive. ---------------------------------------------------------------------- Jobbercete · 2023-10-30 22:30 100% - I'll swap that 12Tb drive for another 4tb one to build a better raid then :) thanks so much again, needed it to see things clearly :D ---------------------------------------------------------------------- thekrautboy · 2023-10-31 07:41 It goes the other way too... backup is not RAID... And fyi this sub here is about selfhosted **software services**, subs like /r/Homelab /r/HomeServer are more fitting. ---------------------------------------------------------------------- Jobbercete · 2023-10-31 09:22 You're absolutely right, got it in the wrong sub. At first thought it was kinda fitting but my brain wasn't properly working. Thanks!