Open, trustworthy and decentralized file synchronization

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

how to sync keepass kdbx ultimate guide!!!

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

@naut@infosec.pub
creator
link
fedilink
21Y

deleted by creator

It is low effort but can spur some worthy discussion in the comments. Good post.

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.

@naut@infosec.pub
creator
link
fedilink
21Y

deleted by creator

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.

How do you do that?

GreenBottles
link
fedilink
11Y

if you stall your games to the same general folders or even if you don’t you just think all the folders contain the data that you want with the other machines to the right location and your games will synchronize between all your devices

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

Helix 🧬
link
fedilink
21Y

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.

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

I always had a hard time wrapping my head around the setup. I mostly use Nextcloud for sync now.

Interestingly I’ve found Syncthing far far easier to setup than Nextcloud :D

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

Helix 🧬
link
fedilink
21Y

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.

@naut@infosec.pub
creator
link
fedilink
41Y

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

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

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

@naut@infosec.pub
creator
link
fedilink
11Y

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

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.

Oh man, this might change few things in my system, how did i not know about this earlier

m-p{3}
link
fedilink
6
edit-2
1Y

What’s even cooler is that you can set up untrusted node(s) to store an E2EE copy of the data.

I use a cheap VPS like that so if none of my other nodes are online they can still sync to that VPS. Without the encryption key, no one can read the data in case of a compromised server or the VPS owner trying to snoop.

Which VPS do you use?

m-p{3}
link
fedilink
1
edit-2
1Y

Currently I’m using CloudAtCost. It’s really shitty (to put it mildly), but it doesn’t cost a lot so I just use it for really unimportant stuff that I don’t really care if they shit the bed,

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

@karmugil@lemmy.ml
link
fedilink
7
edit-2
1Y

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

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 .

Gunpachi
link
fedilink
141Y

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

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

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.

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.

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

green_witch
link
fedilink
2
edit-2
1Y

Requires waaay too many permissions. Why does it need to be able to take pictures and record video?

@naut@infosec.pub
creator
link
fedilink
71Y

I guess for barcode to connect to devices (device key sharing), it is optional, if you share something with other people (family)

each folder has its own permissions and allowed devices

you can add your devices manually and those are auto detected on LAN, you just need to confirm device key

green_witch
link
fedilink
21Y

Ah, thanks for clarifying.

MentalEdge
link
fedilink
151Y

Picture and video permission is for linking a peer by reading its QR code.

green_witch
link
fedilink
41Y

Thanks for clarifying.

Create a post

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

  • Posting a link to a website containing tracking isn’t great, if contents of the website are behind a paywall maybe copy them into the post
  • Don’t promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

much thanks to @gary_host_laptop for the logo design :)

  • 0 users online
  • 57 users / day
  • 383 users / week
  • 1.5K users / month
  • 5.7K users / 6 months
  • 1 subscriber
  • 3.11K Posts
  • 77.9K Comments
  • Modlog