This is a staging forum for AgileBits, not an official support forum. Visit http://discussions.agilebits.com instead.

How To: Merge two data files

I have been puzzled why items added to my Mac 1Password were not showing up on my iPhone and iPad and vice versa. All were syncing with Dropbox and none were reporting errors. Today I discovered the problem. I have two Agile Keychains active on Dropbox, one my Mac is using and one my iOS devices are using. I think this may have happened when I upgraded to the Mac App Store version since I'd had no previous problems syncing all my devices prior to that time. I remember following the instructions to uninstall ver 3.8 and then go purchase and install 3.9 from the MAS. When I first opened my MAS version, it found an old keychain on my local drive. I fixed that (I thought) by going through the steps to reestablish Dropbox syncing. Something went wrong somewhere. I've been dumbly operating this way for 3-4 months now, meaning my two keychains both contain data the other does not. Now all I care about is how to fix it.



How do I sync my devices into a single keychain on Dropbox?



Bob

Comments

  • khad
    khad Social Choreographer
    Hey Bob,



    I'm sorry that you are having this problem. Before proceeding, please create a backup ([b]File > Backup[/b]). Then, try this:



    [size=6]1. Open 1Password's preferences and note the location of your data file.[/size]

    [img]https://img.skitch.com/20111129-r3idb8y5uhgjwm6n6cth6au8j7.png[/img]

    [size=6]2. In Finder, double-click your [i]other[/i] data file, the one [b]not listed[/b] in 1Password's preferences.[/size]

    [img]https://img.skitch.com/20111129-rku88wcibckedbb8ia5gh8xdu.png[/img]

    [size=6]3. When prompted, confirm that you wish to [b]merge[/b] the data files.[/size]

    [img]https://img.skitch.com/20111129-jgh529mn478ruf4g96igeu9tus.png[/img]

    If we can be of further assistance, please let us know. We are always here to help!
  • Carl
    Carl Just Me
    Cool !!!



    When did the merge feature get added as I must have missed that?
  • thightower
    thightower "T-Dog" Agile's Mascot Community Moderator
    Oh boy Me and u both
  • pujoe1
    pujoe1 Junior Member
    [quote name='pujoe1' timestamp='1322533091' post='54571']

    ...

    How do I sync my devices into a single keychain on Dropbox?



    Bob

    [/quote]



    On closer inspection, I find that my two keychains are actually one keychain package that Finder recognizes as a package and one that Finder thinks is a simple folder. It has the identical structure of the package file. My Mac 1Password is syncing with the package file and my iOS devices are syncing with the keychain that Finder thinks is just another folder. What do I do now?
  • khad
    khad Social Choreographer
    Rename the folder so that it has the [b][font=courier new,courier,monospace].agilekeychain[/font][/b] extension as shown in my screenshots and on your other data file.
  • pujoe1
    pujoe1 Junior Member
    Renaming the folder as you recommended worked. Thanks. I then opened 1Password on my iPhone and went to the sync settings. The Dropbox Sync began downloading the more than 800 potential updates. Ditto for my iPad. Now my iMac, iPhone, and iPad are all in sync!



    What should I do with 1Password.agilekeychain_folder.agilekeychain now that I've merged it with the normal 1Password.agilekeychain?
  • khad
    khad Social Choreographer
    edited November 2011
    I would probably discard it myself, but it is safer to (1) compress it to a [b][font=courier new,courier,monospace].zip[/font][/b] file using [b]File > Compress [/b]in Finder and discard the original (so that 1Password doesn't detect it and prompt you to use it in the future). Then (2) archive the [font=courier new,courier,monospace][b].zip[/b][/font] file it somewhere. Your backup drive would be perfect.



    Think of it like your old tax documents. In all likelihood, you will never need it, but if you ever do need it you will probably [i][b]really[/b][/i] need it. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/smile.png' class='bbc_emoticon' alt=':)' />
  • pujoe1
    pujoe1 Junior Member
    All is well. I zipped the extra keychain as you suggested and then deleted the chain. My iMac, iPhone, and iPad are all syncing again. Great advice. It was exactly what I needed.



    Thanks,

    Bob
  • khad
    khad Social Choreographer
    Thanks for letting me know, Bob. I'm glad everything is running smoothly. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    If we can be of further assistance, please let us know. We are always here to help!
  • eVolution
    eVolution Junior Member
    I have 1Password Version 3.8.20 (build 31499), and when I follow the instructions, but I DO NOT HAVE the "MERGE" button, only the option to replace the current keychain.

    However, I read this on another thread (closed) "[color=#000000]First, make sure you're using 1Password 3.9.1[/color]", this important detail is not mentioned in this thread... why?



    I tried to update, but the app tells me that I am UP TO DATE. I understand that 3.9.x is the version from the Mac App Store (MAS).



    Does it means that you are not keeping the non-MAS users current with latest features? I hope to get a resolution on this, or I would be really disgusted! Don't tell me that early adopters are left behind!



    In the meantime, I am stuck here and in need to merge 2 keychains. Is there a solution with version 3.8.20?
  • khad
    khad Social Choreographer
    This is one of the extremely small differences between 3.8 and 3.9. Other than this and application sandboxing, 3.8 and 3.9 are essentially identical. This is the 3.9 forum, though, so that is why the instructions here are for 3.9.



    For [b]1Password 3.8[/b], simply export all the data from the first data file to 1PIF ([b]File > Export All > 1Password Interchange File[/b]). Then open the second data file and import the 1PIF ([b]File > Import[/b]).