I’ve been using Dropbox to sync my KeePass database for years, but I want to switch to Syncthing. My only concern is losing a password due to file versioning. Usually if I have KeePass open on both my phone and PC, there will be a conflict when saving to database, so Dropbox creates a conflicted copy. In some cases that means that I have to merge those databases but I don’t lose the password.

What file versioning option should I be using in Syncthing? Should I be worried about losing a password due to conflicted file?

  • @BrianTheeBiscuiteer
    link
    English
    48 months ago

    I’ve had a lot of conflicts over the years of doing this but as you say keepass is good at merging. You’d only run into trouble if you change the file in two locations before syncing (file conflict) AND the time was way off on one of them (wrong change applied) AND you have no way of resetting your password.

    • @BrianTheeBiscuiteer
      link
      English
      17 months ago

      Okay, finally ran into a conflict that I noticed. Wonder how many passwords I’ve lost throughout the years. I got back the account that was swallowed but I’d much prefer this didn’t happen in the first place. Other than making it a habit to sync (with syncthing) before editing a database it doesn’t seem like there’s a built-in solution for this. The problem is that keypass always performs a two-way sync (sync two files, modify two files). Guess I’ll see how hard it would be to make a one-way sync plugin or if some other variant does one-way.