I’m trying to sync a KeePassXC database between my Android phone and my Manjaro Linux system. I want full two-way sync of changes, but I don’t want deletions on one device to remove the file on the other. What’s the best way to configure this? Tools like Syncthing seem close, but I’m not sure which folder settings or ignore rules would prevent deletion sync while still keeping both sides updated. Any guidance or examples would help. Thanks!

    • MangoPenguin@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 days ago

      That’s what backups solve, for important data like a PW DB you should be running daily backups with versioning. Then if anything gets deleted or corrupted you can restore it easily.

    • rainwall@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      Why not use file versioning on either device folder in syncthing to ensure you retain copies of deleted files? The “simple” setting will retain the last 5-10 versions of any file.

      I’d also recommend backing up your data outside of the sync service once a day or whatever interval makes sense to you. That way a wayword sync, even with safeguards, cant really destroy the data.