this post was submitted on 19 May 2024
25 points (96.3% liked)

Selfhosted

40018 readers
575 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I torrent to a seedbox, and said seedbox has great access tools and you can install plenty of useful applications like Resilio Sync, Syncthing, etc.

My local server is running Fedora Server OS. I'd like to get an automated 1-way sync up and running, but I'm having a lot of trouble. I was using Syncthing in the past, but it's really not meant for one way syncs and caused some issues. I've been trying to set up Resilio Sync, but on Linux I cannot figure out how to get access to the web UI. Resilio's own documentation is frustratingly obtuse - it's great for setting up the service under systemd but then basically has nothing about how to actually get webui access from another machine on the local network, excrot for a reference to a command that doesn't actually exist.

If anyone either 1) knows how to set up Resilio Sync on a Linux machine such that I can hit the web UI from another machine on my local network or 2) had a better way to set up 1-way sync between my seedbox and my local server, I would love to learn!

all 15 comments
sorted by: hot top controversial new old
[–] ThillyGooth@lemmy.world 15 points 5 months ago

Rsync is what you're after, especially if you're moving large files. I regularly transfer hundreds of gb using rsync and it's great.

[–] just_another_person@lemmy.world 5 points 5 months ago (1 children)
[–] Meltrax@lemmy.world -1 points 5 months ago (4 children)

My understanding of rsync was that it was pretty painfully slow.

[–] JovialSodium@lemmy.sdf.org 14 points 5 months ago

I use rsync for this purpose and the only notable bottleneck is my download speed, fwiw.

[–] shadow_wanker@lemmy.world 12 points 5 months ago

I don't know if this applies to you, but don't use the compression flag (-z) for files that already is compressed (like video). The transfer will get CPU bound quickly if you have a fast internet connection.

I went from 13 Mbytes/s to 200 by removing the -z flag, and the compression ratio was non-existant anyway.

[–] johntash@eviltoast.org 2 points 5 months ago (1 children)

The only time rsync is really slow is when your dealing with millions of small files since it only transfers a single file at a time.

rclone is better in that respect since it transfers multiple files in parallel. I don't think the speed of a single transfer is going to differ much.

[–] Meltrax@lemmy.world 3 points 5 months ago

That must have been it, appreciate the clarification.

[–] VelociCatTurd@lemmy.world 3 points 5 months ago
[–] Andromxda@lemmy.dbzer0.com 0 points 5 months ago (1 children)

I'm very happy with Syncthing, you can configure how you want the sync to work (e.g. one-way sync, two-way sync, etc.), the web GUI is pretty good and it's not that hard to set up. I got the idea from this video back when I initially set up my seedbox, have been using this solution ever since and encountered any issues.

[–] Meltrax@lemmy.world 1 points 5 months ago (1 children)

I've used it in the past, but they are deprecating one-way ignore-delete syncing.

[–] relaymoth@sh.itjust.works 1 points 5 months ago (1 children)

Do you have a source for that? I’m using syncthing for this exact purpose.

[–] Meltrax@lemmy.world 2 points 5 months ago (1 children)

An explanation from one of the maintainers explaining why they removed the toggle from the UI and try to hide it from users because it's going to be deprecated eventually:

https://forum.syncthing.net/t/ignore-delete/15414

[–] relaymoth@sh.itjust.works 1 points 5 months ago

Thanks! I didn't find this when searching. Guess I’ll be searching for another solution for my setup.