Dear all,
I am a big fan of Keepass. It is easy, reliable and the dbs are not stored on any untrustable servers.
the are different places, where I'd like to use the same database (e.g. Laptop, PC, Mobile).
I found out, that there is a menu item, where I can sync two files. But there I get only a syncronisiation successfully. No hints / questions, what to do with dublicates. Newer staff ok, but where there has been a password changed on the Laptop's db 4 days ago and ther emight be a newer entry for a new insuraces center.
So I need the older database with the changed password and also the newer database with the new entry.
Would that mean, that I have tons of dublicate entries? E.g. one or two entries with url and not for the same entry. Might be slitely different names ( Waschington and Wachington)?
Regards
Oliver
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The best, and safest way, to use KeePass on multiple devices is to use Triggers to automatically synchronise your local database with a "master" copy help on a cloud server that is accessed by all devices whenever and data is changed and saved locally. The trigger automatically makes your local database, and the cloud based master copy, contain the latest copy of each entry. It is fully explained in the help item https://keepass.info/help/kb/trigger_examples.html#dbsync. There is a diagram that helps explain the process.
There is no security/privacy issue with storing the master database on any cloud server as it is strongly encrypted by Keepass. OneDrive, Dropbox, GDrive etc. are all safe. I personally use Teamdrive for sharing personal files and that happens to encrypts all data again but for KeePass data that is not essential, just convenient for me.
If you do get duplicates having updated the same entry on two computers then nothing is lost. KeePass retains a history of changes and if you do have an issue you can go to the history and choose which one is to become the active entry.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sync merges entries with the same UUID, places the latest data in the entry and older data in History. Check the UUID on similar entries to see if they will sync - look on the entry Properties tab.
Entries with differing UUIDs will be imported as new entries.
To merge entries that have differing UUIDs.
Select one entry - do not edit.
From the main menu, Entry > Compare > Mark Entry for Comparison
Select the second entry.
From the main menu, Entry > Compare > Compare Entry with Marked Entry
You can copy values from the comparison window and paste them into another entry.
If you are comfortable editing XML, you can export an entry as V2 XML, change all the required values and import the entry, overwriting the existing.
cheers, Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all,
thank you. So, well, if I got it right, the cloud is automatically the master? M e was told, that I should use keepass anywhere...
I tried it again and keepass told me my keepass file is corrupt...
I choosed the url for sharing. Can't be that every Keepass is damaged.
Last edit: Oliver 2024-01-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is no master in KeePass database terms. All data is compared and merged in both databases.
We need more details about the corrupt file to diagnose. As much info as possible about the file location and where is came from.
Try opening the file via File > Open. Does that work?
Copy the file to a temporary location on the PC. Can you open it from there?
cheers, Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all,
I am a big fan of Keepass. It is easy, reliable and the dbs are not stored on any untrustable servers.
the are different places, where I'd like to use the same database (e.g. Laptop, PC, Mobile).
I found out, that there is a menu item, where I can sync two files. But there I get only a syncronisiation successfully. No hints / questions, what to do with dublicates. Newer staff ok, but where there has been a password changed on the Laptop's db 4 days ago and ther emight be a newer entry for a new insuraces center.
So I need the older database with the changed password and also the newer database with the new entry.
Would that mean, that I have tons of dublicate entries? E.g. one or two entries with url and not for the same entry. Might be slitely different names ( Waschington and Wachington)?
Regards
Oliver
The best, and safest way, to use KeePass on multiple devices is to use Triggers to automatically synchronise your local database with a "master" copy help on a cloud server that is accessed by all devices whenever and data is changed and saved locally. The trigger automatically makes your local database, and the cloud based master copy, contain the latest copy of each entry. It is fully explained in the help item https://keepass.info/help/kb/trigger_examples.html#dbsync. There is a diagram that helps explain the process.
There is no security/privacy issue with storing the master database on any cloud server as it is strongly encrypted by Keepass. OneDrive, Dropbox, GDrive etc. are all safe. I personally use Teamdrive for sharing personal files and that happens to encrypts all data again but for KeePass data that is not essential, just convenient for me.
If you do get duplicates having updated the same entry on two computers then nothing is lost. KeePass retains a history of changes and if you do have an issue you can go to the history and choose which one is to become the active entry.
Sync merges entries with the same UUID, places the latest data in the entry and older data in History. Check the UUID on similar entries to see if they will sync - look on the entry Properties tab.
Entries with differing UUIDs will be imported as new entries.
To merge entries that have differing UUIDs.
Select one entry - do not edit.
From the main menu, Entry > Compare > Mark Entry for Comparison
Select the second entry.
From the main menu, Entry > Compare > Compare Entry with Marked Entry
You can copy values from the comparison window and paste them into another entry.
If you are comfortable editing XML, you can export an entry as V2 XML, change all the required values and import the entry, overwriting the existing.
cheers, Paul
Dear all,
thank you. So, well, if I got it right, the cloud is automatically the master? M e was told, that I should use keepass anywhere...
I tried it again and keepass told me my keepass file is corrupt...
I choosed the url for sharing. Can't be that every Keepass is damaged.
Last edit: Oliver 2024-01-15
There is no master in KeePass database terms. All data is compared and merged in both databases.
We need more details about the corrupt file to diagnose. As much info as possible about the file location and where is came from.
Try opening the file via File > Open. Does that work?
Copy the file to a temporary location on the PC. Can you open it from there?
cheers, Paul