Merge iOS and Mac vaults

AGAlumB
AGAlumB
1Password Alumni
This discussion was created from comments split from: WiFi Sync not working after update: error code 7027 [Under investigation].

Comments

  • jcsvault
    jcsvault
    Community Member

    Hello. I have been using 1password 5 on Mac OS and have it pretty well populated. I have also been using it unsynced on my iphone. Both are at latest version (5.3). I have a different set of logins populated on my phone.

    I would like to start synching them and merge the data from ios into a vault on the mac. There does not seem a way to not sync the primary vault. I created a new vault called ios on the mac and checked it to sync over wifi. When I try to sync it says it cannot, but I see that primary is still checked and I can't uncheck it.

    I tried to backup the phone and import the backup file, but there does not seem to be a sqlite import option.

    Is there a way to merge this data between the mac and ios vaults?

    Thank you.

    -jim

  • jcsvault
    jcsvault
    Community Member

    On the iphone:

    Sync Problem

    The operation couldn't be completed(com.agilebits.onepassword.ErrorDomain error 7027.)

    More Info shows:

    UserInfo=0x1704......
    (NSLocalizedRecoverySuggestion=Attempted to sync with a different vault than originally configured.)

  • jcsvault
    jcsvault
    Community Member

    OK. Thanks.

    Any other recommendations? I could empty my primary vault on mac os and try to sync with phone. If I could restore the sqlite dump from the iphone somewhere that would solve it too.

  • jcsvault
    jcsvault
    Community Member

    Thanks for the response.

    I think my issue is abut different. I have some vault data stored on my iPhone that has never been synced and I don't have another copy. The SQLite backup cannot be read anywhere else it seems.

    So if I uninstall and reinstall can I sync them up (iPhone and Mac) then restore the iPhone data using the previous SQLite backup?

    I really am trying to do a merge of two existing vaults: on on iPhone and one on Mac OS.

    Thanks!

  • AGAlumB
    AGAlumB
    1Password Alumni
    edited April 2015

    @jcsvault: Ah, thank you for clarifying that! This is indeed a separate issue, so I've moved the conversation over to a brand new thread.

    Of course, you're getting the 7027 error ("Attempted to sync with a different vault than originally configured") because you actually are trying to merge two separate vaults! The easiest way to do this is the following:

    1. Ensure you have your 1Password data for each vault on their respective devices, not empty vaults.
    2. Make a fresh backup of your 1Password data for both the iOS device and your Mac.
    3. In 1Password on the Mac, go to File > Export > All Items and save the .1PIF
    4. Then go to File > Restore (Mac) and choose the backup you saved in step 2 from your iOS device. This will get your iOS vault on your Mac.
    5. Go to File > Import (Mac) and choose the .1PIF you saved in step 3 (to merge the data you exported from your Mac vault into the restored data from your iOS vault. Whew!)
    6. Sync your data from the Mac back to the iOS device (reset the vault on the iOS device if necessary)
    7. Important: make sure you delete the .1PIF and Secure Empty the Trash (in the Finder menu), as the exported data will not be encrypted.

    Let me know how it turns out. I look forward to hearing back from you! :)

This discussion has been closed.