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

  • pe1uca@lemmy.pe1uca.dev
    link
    fedilink
    arrow-up
    22
    ·
    1 year ago

    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
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

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

    • naut@infosec.pubOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

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

  • Gunpachi@lemmings.world
    link
    fedilink
    arrow-up
    14
    ·
    1 year ago

    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
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

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

  • paultimate14@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    1 year 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.

      • GreenBottles@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        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

  • Herbstzeitlose@feddit.de
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    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
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      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
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

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

  • meow@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    9
    ·
    1 year 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.

  • Pantherina@feddit.de
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    1 year ago

    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

  • eumesmo@lemmings.world
    link
    fedilink
    arrow-up
    7
    ·
    1 year 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

  • karmugil@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    1 year ago

    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 [they/them]@infosec.pub
      link
      fedilink
      arrow-up
      3
      ·
      1 year 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 .

  • SirPlus@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

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

    • naut@infosec.pubOP
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      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
        link
        fedilink
        arrow-up
        2
        ·
        1 year 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
      link
      fedilink
      arrow-up
      2
      ·
      1 year 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.

    • m-p{3}@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      1 year ago

      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.

        • m-p{3}@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          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,

    • Takios@feddit.de
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

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

  • SentiEnt@lemmy.pt
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 year ago

    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
      link
      fedilink
      arrow-up
      8
      ·
      1 year 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.

    • Helix 🧬@feddit.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year 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.

  • paultimate14@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    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.