I would like to setup my private Nextcloud server. I thought of buying a Rasperry PI or Rock64 and use NAS Disk to connect NextCloud and have an another disk for a backup of data. So, 2 Hard drives.
my concerns are: Can I use Openmediavault and use NAS enabled HDD as storage for Nextcloud (seems complex process) and another disk for the backup? or should I install the nextcloud directly on the PI/rockpro? or to use nextcloud-on-nsynology-nas?
How is the scalability and efficiency factor on the both methods? and ofcourse, I would like to use it outside my LAN and sync data from both laptop and mobiles.
I would like to share this sever with one more user. Is it possible to share the storage space and maybe in furture, If i would like to expand the disk storage or connecting one more HDD? Is it possible to migrate all the data into one HDD? .
In future, I would like to have my hosting to host website since I will buy domain for nextcloud outside access. In this case, where should I have my files for hosting a website. On the same HDD or on different HDD? Is it possible to allocate a space (Like 50GB) seperate from a HDD in a HDD where nextcloud uses as an external HDD for storage?
Here, I am running Nextcloud as a docker container in my ESXi server and its data are saved in an NFS share from my FreeNAS server. So pretty similar to running Nextcloud externally on a RaspPI and using a Synology FreeNAS backend.
You can sure do it. Only ask yourself if that is what will answer your need.
Will you do and keep your backups onsite ? Then a single fire or physical threat will destroy everything.
How and how often will you try to restore your backups ? A backup that has never been restored must be considered as non-functional.
So Yes you can build such a home and private cloud. Just do not fool yourself about how resilient and available it will be when compared to a professional cloud.
Here, I have 3 FreeNAS servers instead of 1. One of them is at a remote place over 400 Km away. I also do a restore at least once a year to be sure everything works as expected.
So sure you can build a private cloud. Just be aware of its strength and weakness before putting too much stuff and trust in it.
Thanks for your response. I am considering to connect from outside via VPN(openvpn or wireguard). Rasperry PI 4 (4 GB Ram), 64 GB /128 GB Micro SD card and 4TB NAS Storage HDD (external storage data mount for nextcloud). On top of this, would like to add pihole.
Is it okay to proceed with this setup? any idea about the efficiency? Can Pi withstand with this requirements or Do I need to have a more processing power setup instead of PI?
I see freenas requirement is above 8gb ram. so not sure if it could be used along with pi.
regarding the configuration, needs to set in router: I don’t have all these setup in my vodofone router (DNS config) But previously, I have bridged with my another TP_Link router as wlan repeater. If I do this port forwarding and other router confgurations through the (TP_link) router. Won’t there be any problem?
Oh yeah. Thanks for bringing this, I didn’t think in that prespective. I agree. This is the drawback. Is there any other way to circumvent this along by using vpn. ofcourse, i dont want to share my openvpn config file to everyone whenever I like to share the file via nextcloud.
ja. Thanks. This is perfekt. Thanks for your tips.
NextcloudPi looks cool.
One more question: let’s say I have my 2TB NAS storage HDD , I want to use 1.8TB for Nextcloud and 20Gb for hosting my own website or something. Is it possible (Disk partition and connect 80% of HDD to nextcloudpi) and does the PI able to process this computational power.
is it safe from seeing from a security and privacy perspective by having both on the same HDD or should I just use another 500GB HDD for this?
This is a pretty black and white question; either you require a VPN to access your system, or you don’t. This is really up to you. The system is designed for use without a VPN.
You can do some additional hardening on your web server and firewall to substantially increase security. For example, on my home instance, I require SNI so that random web scans of my IP address don’t land on the Nextcloud login page. Instead my default vhost loads a bogus self-signed certificate (to hide the real domain name) and then redirects them to Bing.
I also block non-ARIN IPs from accessing it at all. That alone drastically reduces the number of random people scanning it, and therefore the number of potential hacking attempts.
In my guide I linked above I have an example Apache site config for this, although I think I had the default system cert (which contains the hostname). You can create another one with OpenSSL, and there are many guides online about generating a self-signed certificate.
For the non-ARIN address blocking, I did that in my pfSense firewall based on publicly available info from IANA.
Thank for so much for the info. I like the docker container as well. I am in a dilemma of choosing between pi4 or NAS.
Is it possible to share the nextcloud instance outside the network with dynamic dns if I configure the setup in NAS. I read somewhere when you use NAS as external storage you ll miss out some features such as sharing a file and webdav option. Could you give me some insights about it ? I thought of doing the setup in pi4 with external hdd . Now In a dilemma of choosing of NAS where I could deploy several vm and use it one for NC, one for hosting a website and maybe one for pihole. I would like to expose the NC and Website outside LAN. Would this be a good option in terms of security prespective? also have one drive of NAS for a Backup.
I have not used NextCloudPi but my understanding is the limitation is due to the ARM CPU on those little boards. NCP is also available for Docker on other systems and as far as I know there is no app limitation then.