How to show a diff of 2 kdbx Keepass Databases when a sync conflict happens? - eviltoast

Should be a very common issue

KeepassDX + KeepassXC, Android to Linux.

Synced with Syncthing.

I do a change on the password manager on one device and on another, Android killed Syncthing again so now I have 2 files, one called “sync conflict”.

Both files have some new change, I need to keep both.

When using the import feature in KeepassXC, I think everything is duplicated. This would be the best place to do this.

Any idea how to merge them or at least show the diffs?

Displaying all entries, without folders, sorted by date, could also already help.

kinda-solution

In KeepassXC, bottom left, “all entries”. Alternatively, search for “*”.

Then sort by date.

This helps to compare the most recent changes, and copy them over to the want-to-keep version of the file.

  • Consti@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    2 months ago

    Does “Database > Merge from Database” not work for your case? I remember it helping when I had a similar situation

    • Vent@lemm.ee
      link
      fedilink
      arrow-up
      9
      ·
      2 months ago

      I’ve used Keepass + Syncthing for many years and this has worked flawlessly every time.

      • LiveLM@lemmy.zip
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 months ago

        For me too, however I would like to get a diff before confirming the merge.

        • boredsquirrel@slrpnk.netOP
          link
          fedilink
          arrow-up
          2
          ·
          2 months ago

          Same. It didnt work some time ago. But I should try this again.

          Also if this works on DX, as I am not always with a laptop around