Hi guys,
Not sure if this is possible or how it might work but I am trying to get away from using commercial Cloud storage such as OneDrive and set up my own securely but as well as being convenient.
While I can connect to a vpn and then upload and download the files, that is a hassle that I do not want to deal with if possible. My idea is to get a VPS, install owncloud, and then install a VPN back into my network, and have the owncloud database stored locally on my machine but only be able to access the owncloud instance on the VPS so that I don’t have to let anything through my own network etc.
The only problem I am seeing here is how to set the owncloud database locally and link it back to the instance on a VPS.
I did look into using zerotrust cloudflare tunnels, just not something I want to expose to cloudflare, as well as running it through NPM souly.
If anyone has any additional ideas or input on this, that would be greatly appreciated!
I’m using Nextcloud, it’s forked from Owncloud.
Of course, it’s possible to link your database to a local machine. Why do you want to store your database on a local machine? Why don’t you want to put the database together with Owncloud?
Your steps should be like this with my approach.
- Install wireguard software on VPS.
- Install wireguard client on your local machine as a service.
- Install database software on your local machine and use the IP address of wireguard client IP as management.
- Install Owncloud on your VPS. While installing it will ask for the database IP address, so point it as wireguard client IP address.
Thank you for that information! I appreciate it.
I dont want the database on the VPS since I would like full control of the storage, backups etc, as well as security purpose, would rather it be on something I own rather then what someone else owns.