Menu

Syncing multiple databases?

Jj4ssvYg
2012-12-08
2015-10-14
  • Jj4ssvYg

    Jj4ssvYg - 2012-12-08

    How do I sync multiple database files?

    I attempted to copy the Google account entry into a different database but the UUID changes when I paste it into the other database. How would I manage multiple UUIDs in the KeePass.config.xml file?

    Thanks.

     
  • Danyal

    Danyal - 2012-12-09
    1. Right click on your Google account entry in database A > Selected Entries > Export. Use format: KeePass XML (2.x)
    2. Open database B > File > Import. Use same format. Import Behavior: Overwrite existing

    This will ensure same UUID for your Google account entry in both databases.

     
  • Jj4ssvYg

    Jj4ssvYg - 2012-12-12

    Thanks it works but when I do a sync nothing shows up in my Google Drive until I manually copy the database files to the drive. Thereafter, a sync will update the timestamp with the sync'd file.

     
  • Jj4ssvYg

    Jj4ssvYg - 2013-01-21

    Thanks.

    Until the plugin can actually SYNC the database rather than backup, I will continue to use triggers which is a far easier setup and more reliable.

     
  • Danyal

    Danyal - 2013-01-25

    The plugin actually syncs your local database with Google Drive database. And it uses the built-in synchronization feature of KeePass itself.

    So I am not sure what you mean, please clarify.

    If you were to use the plugin option "Download from Google Drive" and then do File > Synchronize > Synchronize with File, you will get the same result as using the plugin option "Sync with Google Drive"

     
  • Jj4ssvYg

    Jj4ssvYg - 2013-01-29

    I tested the sync function by adding different entries to two DB file instances named database.kdbx. No syncing was done. It only overwrote the Google Drive copy of database.kdbx.

    Here's my configuration:

    <Custom>
        <Item>
            <Key>EnableAutoSync</Key>
            <Value>true</Value>
        </Item>
        <Item>
            <Key>GoogleSyncClientID</Key>
            <Value>.....apps.googleusercontent.com</Value>
        </Item>
        <Item>
            <Key>GoogleSyncClientSecret</Key>
            <Value>....</Value>
        </Item>
        <Item>
            <Key>GoogleSyncKeePassUID</Key>
            <Value>....</Value>
        </Item>
    </Custom>
    
     

    Last edit: Jj4ssvYg 2013-01-29
  • ursus

    ursus - 2015-09-27

    It has been some time. Is it possible now to sync two databases with two different accounts simultanously?

     
    • Uranium235

      Uranium235 - 2015-10-06
       
      • ursus

        ursus - 2015-10-13

        Thanks for proposed workaround, but somehow I can't get it working. I copied entry and try to use it, but even UUID of copied entry is different between DBs.... would have to drill down deeper :|

         
  • Uranium235

    Uranium235 - 2015-10-14

    Here's one method:

    • Right-Click the Google Account Password entry in your 1st database
    • Go to "Selected Entries" > "Export"
    • Select "KeePass XML (2.x)" as export format
    • Pick a file name and location for the "Export to:" field at the bottom by using the disc icon next to the input field and press "OK" to export
    • Open your 2nd database
    • Go to "File" > "Import"
    • Select KeePass XML (2.x)
    • Select the XML file you created earlier in the "Files to be imported" field and press "OK"
    • For "Import Behavior" select "Keep existing"
    • Change the e-mail / user name of the imported entry
    • Delete the "GoogleSync...." String fields in the Advanced Tab of that entry
    • Proceed with the Plugin configuration as described in the readme, the support wiki here
     

    Last edit: Uranium235 2015-10-14

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.