this post was submitted on 30 Sep 2023
198 points (99.0% liked)

Privacy

39615 readers
341 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

Sync files (KeePass) between devices (PC, mobile, tablet, RPi)

all 32 comments
sorted by: hot top controversial new old
[–] pe1uca@lemmy.pe1uca.dev 17 points 2 years ago (2 children)

Syncthing is so great, I don't have to deal with things like a FTP server, sending files to a cloud drive, connecting via USB, or similar. I just point syncthing to the folder I want to replicate and my PC has it immediately and receives new files as soon as I connect to a WiFi (because of my configuration), and then at the PC I can easily backup the files.

[–] niisyth@lemmy.ca 4 points 2 years ago

Syncthing and Warpinator take care of 99% of my file transfer needs. They've become essentials.

[–] naut@infosec.pub 2 points 2 years ago

I have it on RPi with NAS and it automatically accept shares and announce to other devices

[–] Herbstzeitlose@feddit.de 12 points 2 years ago (1 children)

When I tried stock Syncthing for Android it drained my battery very quickly. I use Syncthing-Fork which only checks for changes once an hour.

[–] kratoz29@lemm.ee 4 points 2 years ago (1 children)

Can't you specify this with the normal app?

I would never use it in battery mode, only plugged in, that is how I have my Swiftbackup, Pocket Casts and Feeder downloads schedule.

[–] Herbstzeitlose@feddit.de 3 points 2 years ago

I honestly don’t remember, I just googled “Syncthing drains battery” or something, someone recommended Fork, it worked.

[–] paultimate14@lemmy.world 11 points 2 years ago

Fantastic application. I use it to sync my retro game saves: retroarch, dolphin, PCSX2, etc. Got it on the Steam Deck and Windows Desktop. They all sync with the NVIDIA Shield, which is always on. Works fantastically well and doesn't seem to noticably impact the Deck's battery life.

[–] gunpachi@lemmings.world 11 points 2 years ago (1 children)

Syncthing has become one of my must use apps. I use it regularly to back up files from my phone to my PC.

[–] herr@lemmy.world 5 points 2 years ago

It's an incredible tool, don't know why I thought only cloud providers could do cross-device file syncing in the past...

[–] Pantherina@feddit.de 8 points 2 years ago (1 children)

Nice but what low quality post is that. Not even a "decentralized sync setup", just an F-Droid link? I see this with Git* projects too. If its not yours, and you dont really have anythings special to say on it, maybe dont use it to get likes

[–] karmugil@lemmy.ml 7 points 2 years ago* (last edited 2 years ago) (1 children)

I use it to transfer large video files and 40000+ images from my phone to PC it transfer fast then normal copy between systems

I connect my PC and phone in tethering mode and open syncthing on both devices

I get 30mb+ per second transfer speed

[–] sapient_cogbag@infosec.pub 4 points 2 years ago

That's one of the advantages with p2p-ish networks, if you're on the same network, devices can often disover each other and communicate directly, bypassing the bottleneck of an internet connection like traditional cloud services have ^.^

[–] backhdlp@lemmy.blahaj.zone 7 points 2 years ago

I (currently) only use it for my passwords and my music between my laptop and my phone, but it's incredibly useful, even for just those 2 things.

[–] SirPlus@lemmy.world 7 points 2 years ago (2 children)

The one issue I have with syncthing is the abundance of .sync-conflict files it will generate sometimes.

[–] naut@infosec.pub 4 points 2 years ago (1 children)

it happens if you change files on each device while offline, if you change then sync it is ok, if you change same file on multiple devices, that is a conflict as it can't decide which file you want to keep

[–] SirPlus@lemmy.world 2 points 2 years ago

Yeah I noticed it only happened while offline, I don't mind really, just something I gotta curate from time to time.

[–] Helix@feddit.de 2 points 2 years ago

You can choose which to keep in the web interface. That's a feature preventing data loss. You can choose to just delete all of these files but that would mean Syncthing might use the wrong data.

[–] coughrelief@lemmy.world 7 points 2 years ago

Great program, I use it to sync my music and movies/tv show folders to my phone.

[–] eumesmo@lemmings.world 5 points 2 years ago

It's nice to see syncthing becoming more popular. It's a great foss app that deserves more attention and can be used in so many contexts, replacing several proprietary and restrictive solutions

[–] SentiEnt@lemmy.pt 3 points 2 years ago (2 children)

If I'm not mistake the default settings makes it so syncthing is not peer to peer but it involves their servers to pass the data. If anyone knows more about this please share.

[–] eumesmo@lemmings.world 7 points 2 years ago

You probably mean the relay servers. They are used in case your devices are behind a NAT and don't have any ports forwarded. In that case, it would be impossible for devices on different networks to communicate over the internet, so the relay servers make the communication work. It's not something to worry, since your data is encrypted when passing through it, but it can be disabled.

[–] backhdlp@lemmy.blahaj.zone 5 points 2 years ago

I think that's only if you're not on the same network

[–] paultimate14@lemmy.world 3 points 2 years ago (1 children)

Basically just install it on all 3 devices, then identify which folders need to sync. And back up any saves you care about first, just in case.

First I set up the Shield. I think I just found it on the play store. Then set up each folder I wanted. SyncThing gives each shared folder a unique code, so when setting up folders on other devices you just enter that to let SyncThing know those 2 folders should sync. The Shield might not be ideal: a Raspberry Pi or something might be easier to work with than Android TV, but it still works.

On the Deck, you can just go to Desktop mode and find Syncthing in the repository. You don't need to do any major changes like the Decoy loader or anything, but if I remember correctly it's handy to have FlatSeal as well to grant the various programs permissions to each other's folders. I also installed SyncThing GTK and added that as a non-Steam game, so even in Gaming mode I can access a GUI for it. I think that also made it easy to set up SyncThing to automatically start.

From there I chose to make a new directory, set that folder up on SyncThing, and then re-configured my emulators to save there. Retroarch, Dolphin, PCSX2. They all have different settings for it: PCSX2 sets up virtual Memory Cards, for example.

On Windows, I just followed the instructions to install SyncThing, then I also installed SyncThingy, which makes SyncThing run on startup. On a full desktop I found it easier to just use the existing folders for each program rather than create new ones and move them around.

[–] I_Miss_Daniel@kbin.social 2 points 2 years ago (1 children)

I've been using Resilio Sync for the same purposes. Syncthing is probably better.

[–] Helix@feddit.de 2 points 2 years ago

Why not use the better product? Resilio was one of the inspirations IIRC. Syncthing became really good a while ago, I never had data loss with it after they 1.0d it.

[–] achsideas@lemm.ee 1 points 9 months ago

how to sync keepass kdbx ultimate guide!!!

[–] JackGreenEarth@lemm.ee 1 points 2 years ago (1 children)

How do I connect it to my laptop, running Manjaro?

[–] naut@infosec.pub 1 points 2 years ago (1 children)

it should be in the repository, you can use web UI, default is http://localhost:8384/

https://docs.syncthing.net/intro/getting-started.html

https://docs.syncthing.net/intro/gui

[–] JackGreenEarth@lemm.ee 2 points 2 years ago

It's really annoying to back up anything on Android as the fucking SAF doesn't allow me to back up root folders, so I have to back up everything individually.