Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Extracting Contacts from a iPhone backup

  • 17-08-2010 3:06pm
    #1
    Registered Users, Registered Users 2 Posts: 23,216 ✭✭✭✭


    Anyone managed to do this?

    The iPhone itself is gone missing but I have the back up from iTunes. The owner of the phone doesn't plan on replacing the iPhone. Is there any handy way I can get the contacts out of the back up?

    I've cracked open the backup and gotten the AddressBook.sqlitedb file, but it's a bit messy with the numbers and contact names being kept in separate tables.


Comments

  • Registered Users, Registered Users 2 Posts: 6,833 ✭✭✭phill106


    I had the same problem myself, and while i dont know of an automatic way, the number on each page of the db corresponds with a contact, even though they are in a different sort order. So you would find the persons name on one page (lets say his id was 1) then on page where number is stored, look for the same Id and that will be his number. Tedious but works.
    Confirm one or 2 right ones first to make sure before you do all the work though.


  • Registered Users, Registered Users 2 Posts: 23,216 ✭✭✭✭monkeyfudge


    phill106 wrote: »
    I had the same problem myself, and while i dont know of an automatic way, the number on each page of the db corresponds with a contact, even though they are in a different sort order. So you would find the persons name on one page (lets say his id was 1) then on page where number is stored, look for the same Id and that will be his number. Tedious but works.
    Confirm one or 2 right ones first to make sure before you do all the work though.

    Ha.. oh dear.... Was hoping it wouldn't come to that.


  • Registered Users, Registered Users 2 Posts: 44,413 ✭✭✭✭Basq




  • Registered Users, Registered Users 2 Posts: 23,216 ✭✭✭✭monkeyfudge


    basquille wrote: »

    Okay. That seems to fill that final last gap. Will give a go this evening.


  • Registered Users, Registered Users 2 Posts: 44,413 ✭✭✭✭Basq


    Am fairly proficient in SQL so if you need help, give me a shout!


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 23,216 ✭✭✭✭monkeyfudge


    Okay.

    I've run the "select ABPerson.first,ABPerson.last,ABMultiValue.value from ABPerson,ABMultiValue where ABMultiValue.record_id=ABPerson.ROWID" query in SQLite.

    That throws back all the contact names and numbers in exactly the format I want them in. But I can't copy the list out of there, and the .output backup.txt command doesn't seem to be doing anything for me.

    Any thoughts?

    Thanks.


  • Registered Users, Registered Users 2 Posts: 44,413 ✭✭✭✭Basq


    Will give it a shot when I get home from work.

    Will keep you posted.


  • Registered Users, Registered Users 2 Posts: 23,216 ✭✭✭✭monkeyfudge


    Cheers.


Advertisement