Best way to have file sync on a local network?

cakeofhonor@lemmy.world to Selfhosted@lemmy.world – 1 points –

So I have a NUC with Proxmox as the primary OS and OPNsense in a VM for my home network. I've been trying to move away from Google services but would still like to use them as a back up solution. Would it make sense to use Nextcloud in a VM as a replacement and use Rclone to encrypt and backup my files to Google Drive? Or should I use a NAS OS like Open Media Vault instead?

I'll also mention that I have an empty SSD that I can passthrough and that my primary draw to Nextcloud is that they have a Windows desktop syncing app like Google Drive does which makes things familiar and convenient. I don't plan on having my Nextcloud instance exposed to the web but might setup a Wireguard tunnel into the local network in the future.

11

If you need instant replication then Syncthing is probably your best bet but don't forget to disable the relaying function

I second this, if you only need to sync files on different locations. Syncthing is awesome and very reliable. Using it every day for several years

Thanks, I'll look more into it.

Syncthing is great for mirroring files across any number of devices. I use it and love it. Just remember Syncthing itself, is not a backup solution.

I've had a lot of good luck with Syncthing. If you're just syncing files locally you can disable nat traversal.

I ultimately did go with Syncthing and uploading my files encrypted to Google Drive for backup. It's been working great for months. I've also been using Zeroteir to make this work with my laptop too while on the go.

Do you actually need sync? I just have a bunch of network shares. I can access them externally with WireGuard if need be.

I know folks like Nextcloud, but I never found it particularly reliable.

If you are doing just local syncs the simplest solution might be rsync.

As for a solution with nice software clients, I use Seafile. Nextcloud is nice but it’s incredibly slow to sync files in my experience.

Another local option might be syncthing.

As for backup I use Rclone to do encrypted backups to GCPs Archive Srorage tier. The price is really good at $0.0012 USD / GB. 1TB of backups is like $1.25 USD per month. Be warned though retrieval costs are high.

Try Resilio Sync. Running it for 5+ years now and did not have a single synchronization issue. Syncing around 5 devices flawlessly, instantly and error free (not sponsored)