2
submitted 9 months ago* (last edited 9 months ago) by turkishdelight@lemmy.ml to c/selfhost@lemmy.ml

I have a VPS server in the cloud that I use for wireguard. I got the idea to also use it to host a shared folder across my devices: Linux laptop and Android phone.

I started doing some research on this, and would welcome pointers.

you are viewing a single comment's thread
view the rest of the comments
[-] Atemu@lemmy.ml 2 points 9 months ago

I would not "share" it synchronously as @gratux@lemmy.blahaj.zone recommended because in that case the data is only stored on one device and almost always accessed remotely. If the internet connection is gone, you'd no longer have access to the data and if the VPS dies, your data would be gone on all other machines too.

If you want to use Nextcloud anyways, that would be an option.

If all you want to do is have a shared synchronised state between multiple machines though, Syncthing would be a much lighter weight purpose-built alternative.

[-] Trainguyrom@reddthat.com 2 points 9 months ago

It's really down to where you want the files to live. Sure synching would provide easy redundancy with a copy of the files on every machine, but that 20GB of documents or whatever would effectively become 100gb of files if it's being synced to 5 different computers, eating up 20GB of space on every computer, meanwhile using a standard network share would give you a single centralized location with one copy of the data, then you just make backups according to whatever your backup scheme is.

[-] Atemu@lemmy.ml 2 points 9 months ago

It really depends on what it is you're trying to share between machines.

I don't use syncthing but something that fulfils a similar function (git-annex). My Documents repo is set up in such a way that all instances of the repo try to have a copy of everything because documents are very important data and don't take much space. Other (larger) repos only try to have two or three independant copies; depending on how large and important their data is.

this post was submitted on 08 Mar 2024
2 points (66.7% liked)

Self Hosted - Self-hosting your services.

11594 readers
2 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.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS