Anyone used Cloudron in VPS but backup to NAS at home?
-
Hey guys,
I was just thinking... I have a NAS at home which is far from used in terms of storage space, and so I was just thinking if there was a way to have Cloudron backup to it. Has anyone achieved this?
I tried launching it as an NFS mount by pointing to my home IP address (which is dynamic of course but I was only trying to see if it'd work, I'd probably find a DDNS service to fix the changing IP), and it kept failing with an unknown error (basically said it couldn't determine why it failed). I enabled NFS on my NAS, it should be reachable, but I'm still troubleshooting that in case it's a local NAS / network issue. In the meantime, I was wondering about things like speed and such, if anyone had any experience setting up this use-case and what it might be like (i.e. was it incredibly slow compared to Object Storage for example). FWIW, my internet connection is 300 Mbps symmetrical, so it isn't a slow connection or anything, I was thinking it'd be a lot faster than Object Storage but wasn't sure.
Up to hearing from people who have done it or had issues like I have so far, and if it's even worth it.
-
@d19dotca said in Anyone used Cloudron in VPS but backup to NAS at home?:
Yes I have, but I use CIFS from a local Cloudron instance to a local NAS.
First I create a directory e.g. /backup. After that I add an entry at FSTAB.
//nas/backup /backup cifs credentials=/etc/.naskey,uid=1000,gid=1000,dir_mode=0755,file_mode=0644 0 0
Now mount it with
sudo mount -a
.Last but not least configure it at Cloudron
-
My mail server (on Cloudron) runs on DigitalOcean. I, then, back it up to my home Cloudron which has minio. Have this setup for 2-3 years now and it's quite reliable. I don't have much email data though, only ~10GB or so. I bring that up because depending on your ISP this will get counted as upstream traffic.
-
-
Interesting, thanks guys! Glad to know it's not some fringe use-case. I'm struggling for some reason with Cloudron using NFS to my WD My Cloud EX2 Ultra unit. Oddly, Cloudron's GUI isn't helping, lol, it just gives me this error:
Failed to mount (activating): Could not determine failure reason.
I'm fairly sure it's a network issue on my side. I can connect via NFS locally (laptop on network to NAS), but if I try connecting from outside the network then it fails. I've opened up port 2049 (NFS) on my router, enabled NFS on the WD My Cloud EX2 Ultra, enabled it on the public folder as well, put it on a static IP. From what I can tell digging online, it seems that NFS isn't very accessible from outside the network based on WD's implementation of it.
Anways, I'll keep tapping away at it over time and see if I can get it to work, would likely make my network transfers much quicker for Cloudron backups while also saving me some Object Storage costs since I already have so much space in my WD unit.
-
@d19dotca
I use ZeroTier for backing up my stuff (Mailinabox-vm) from Digitalocean to my Home storage.
Only thing to keep in mind is that you have to install zerotier on both site's.Not 100% sure if this will work Cloudron, but i guess it's worth a try mabye?
-
So my WD My Cloud EX2 device seems to be having issues connecting to no-ip to register as a DDNS client to keep the IP always updated, as one of a few issues I'm encountering right now. I have no computer at home that's always on (I only have laptops), so I'm thinking of maybe getting a cheap computer just to run Cloudron inside of VirtualBox or something which points to the WD NAS with a mount point, run the Minio app in Cloudron to store on the WD NAS, and maybe that'd work? Does that even make sense though?