How to show a diff of 2 kdbx Keepass Databases when a sync conflict happens?
How to show a diff of 2 kdbx Keepass Databases when a sync conflict happens?
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.
Does "Database > Merge from Database" not work for your case? I remember it helping when I had a similar situation
13ReplyI've used Keepass + Syncthing for many years and this has worked flawlessly every time.
9ReplyFor me too, however I would like to get a diff before confirming the merge.
6Reply
I open both dbs and sort all entries by ’modified’
3ReplyHm, yes I also had some false positives
2Reply
@boredsquirrel KeePassXC can export to CSV format, you could then diff those
0ReplyTrue, this would be an okay backup solution!
1ReplyI think you're missing a lot of metadata (last modified, history?) in those files. Haven't checked in a while, though.
1Reply