this post was submitted on 22 Sep 2024
28 points (91.2% liked)

Selfhosted

40696 readers
320 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 2 years ago
MODERATORS
28
Best phone sync (lemmy.world)
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 

Edit: Thanks for all the suggestions. I'm going to try sticking with syncthing and try the fork of the UI and see if that keeps everything working.

--

I want to sync files between my linux PC and Android phones (mostly for Obsidian notes).

Can anyone recommend a good real-time sync?

I've been trying syncthing, but despite turning off battery optimization for the app, it rarely sees the phone as connected. I don't want to have to remember to check syncthing every time I edit a note.

I use resilio for syncing between PCs but it looks like it has a high battery usage on the phone, as if it is frequently polling for changes.

I use FolderSync for occasional scheduled syncs (e.g. updating my MP3s from the server to my phone), but a scheduled sync either is frequent enough to affect battery or it risks sync conflicts.

Cloud services such as OneDrive, Dropbox and Google Drive don't show up as big battery drains, so I assume that they use change notifications from the OS instead.

Are there any real-time 2-way sync apps for phone that don't have big battery drain and are not for cloud providers?

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

Resilio sync is outstanding

It's free for personal use, but the license process is annoying (email)

[–] [email protected] 1 points 3 months ago (2 children)

I'd like to use resilio, I even bought a license to support it as I use it for all my pc syncing. But it's currently showing 41% battery use for today on my phone for 2 minutes screen time 11.5 hours background. Lenny Voyager shows 7% for 1.5 hour screen time. So something is not good with the phone app. Maybe the Android battery info display is misleading somehow (it confuses me because it shows a percentage of the time-interval you're viewing, not a percentage of the total battery drain(.

[–] [email protected] 2 points 3 months ago* (last edited 2 months ago) (1 children)

Yea, I like Resilio, but it's a battery and ram hog.

Syncthing should work fine for you.

Does your phone have some custom battery management? Some vendors do that, and it causes issues.

[–] [email protected] 1 points 3 months ago (1 children)

The only setting I see is "allow background usage", which is on (I'm using it on a Pixel 7 and 8).

[–] [email protected] 2 points 2 months ago (1 children)

Pixel is clean, from a battery saver perspective, so that's probably not your issue.

Not sure what to do next. I've used it for about 10 years now, and keep gobs of stuff in sync with it.

I do recommend Syncthing-Fork for Android, it moves the sync conditions into the individual since folders, so you get finer control.

Do you get any errors on the desktop console? On Android, if you launch the web client you get much more info and configuration capability (Menu - Web GUI). Once there, click the gear at the top right, and open Logs. Maybe there's something there that can help.

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

I'm trying the fork now, thanks. So far, it's behaving. Thanks for the pointer to the logs, I'll take a look if it happens again.

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

That's a good call out. My user case allows me to terminate the phone app after it syncs, and battery doesn't seem to be hit hard even if I forget. But it's important to look at, and it might not work for you.