entry1entry2
entry1entry2
Local fileon PC
c:\database.kdbx
entry1entry2
https://my.somecloud.com/database.kdbx
/storage/apps/keepass2android/internal/database_cache.kdbx
entry1entry2entryNew1
entry1entry2entryNew2
Some tool on the PC synchronizesthe local file with the cloud
c:\database.kdbx
entry1entry2entryNew1
c:\database.kdbx
entry1entry2entryNew1
entry1entry2entryNew1entryNew2
https://my.somecloud.com/database.kdbx
/storage/apps/keepass2android/internal/database_cache.kdbx
The user updates the file
The user updates the filewhile phone is offline
Phone is online again.User selects "Sync database"
time
All files in sync
All files in sync
Out of sync
No syncbecause offline
entry1entry2entryNew1entryNew2
/storage/apps/keepass2android/internal/database_cache.kdbx
User selected"Merge changes"
KP2A loads the file from the cloud. It sees that it is different from the original version, i.e. it cannot overwrite (unless the users wants this).KP2A executes the Merge database algorithm and stores the resultlocally and on the server.
Some tool on the PC synchronizesthe local file with the cloud