-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database Merge #22
Comments
So the use case is you open two databases in the app then hit the "sync" button which will compare timestamps across entries and reconcile them into one database that you can then save. Did I capture that correctly? |
Yes, or maybe just opening 1 database, hit a "Merge" button and select another database file to compare to |
KeePass calls this Synchronize. For instance, I have one .kdbx file that I synchronize to multiple machines using NextCloud. I'll have that file open on each machine, and when a change is made, the new file is automatically copied across all the machines. In KeePassX, I have to close the database, and reopen it to see the change. In KeePass, I go to File -> Synchronize -> Synchronize with File, and select the file. It will then merge changes. It would actually be even cooler if you set up a watch on the file, and merged it any time there was a change that KeePassX didn't make to the file. Truth be told, in my setup, since I have KeePassX set to auto-save on change, I wouldn't even need merging, I would just need the database be automatically reloaded when it changes outside the program. |
So:
|
I think it's really just:
Obviously, the second bullet could be a separate request if the first one is done, but it may be easier if it's designed with that in mind from the beginning. |
By Merge I mean, the user request to merge 2 file by clicking a button by demand I think that 1st and 2nd (from my comment) are different behavior It sounds good? |
I was developing the Automatic merge of the current database file and I've learned that KeePassX put a lock on the file if it's open. It's a good idea to discard the lock (maybe only when the database is not used) and enable the auto update? |
Database merge was proposed by @monomon in KeePassX PR #177 I merged this code into a feature branch |
Current status
|
Oh wow, I can't wait for this! Thank you guys so much. I have a nextcloud setup as well to sync my stuff across different machines and this will make it complete. |
…ture/merge-db-#22 * Reframed gui test case for merging based on fixed tests * Removed considerations for dbwidget search during merge with new search feature
I would love to see this change in the reboot. It is kind of unfortunate that the original project is not active. |
Almost any Cloud (Dropbox, GDrive) or Sync (Syncthing) provide a program that sync a folder on your pc with the cloud/remote version. You don't need to set the watch on the remote provider. Just watch the file that the program will sync. |
Yeah sorry, wasn't clear enough but wasn't conflating the two :) |
This is closed but there is still an Issue/Feature request to complete:
|
I think we incorrectly grouped three features into one issue. Can you open up a new issue to capture that feature? I'll be opening a PR for the autoreload feature this evening. |
Done https://github.com/keepassxreboot/keepassxc/issues/90\ OT: Can you review the "Mac-Windows Autotype PullRequest" when you have spare time? |
Should be nice to be able to automatically merge 2 or more password databases.
Use case: You have a KeePassX database on your PC and a database on your Phone, you "sync" them with Syncthing, Dropbox, whatever and you will lose changes on PC or Phone version so you need to keep both databases aside. With the Merge feature, you open both database on KeePassX and merge them so now you have all password in 1 file.
The text was updated successfully, but these errors were encountered: