this post was submitted on 24 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 months ago (1 children)

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.

[–] [email protected] 1 points 11 months ago

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.