Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

baxlobs

macrumors regular
Original poster
Nov 21, 2012
238
14
Suffolk UK
Hi, I have messed up "Importing" some Contacts from a csv file, and ended up duplicating many on the list. I thought the easiest way to fix it would be to restore the data from Time Machine. Which file or files do I need to restore? Is it just the Contacs.app in Applications or is there another file?
 
Contacts are stored in ~/Library/Application Support/AddressBook/
 
Thanks, I have had a look, but there is no entry for AddressBook under Application Support. I am running Catalina, might that be different?
 
Thanks, I have had a look, but there is no entry for AddressBook under Application Support. I am running Catalina, might that be different?
Are you looking in /Library/Application Support/ or ~/Library/Application Support/ ?

To get to the latter…in Finder hold down the option key and the "Library" folder will appear there. ~/Library/ is an invisible directory inside your user folder…the "~" being the indicator.
 
Thanks for the clarification. I had not appreciated the significance of the wavy line symbol. I will have another look later.
 
Having gone through some Contacts problems recently, if have Contacts enabled for iCloud, found that surest/easiest restore was to restore from iCloud.

  1. Disable Contacts in iCloud on Mac
  2. Make sure Mail is not running, otherwise will need to Force Quit later
  3. Delete the entire ~/Library/Application Support/AddressBook folder
  4. Sign into iCloud.com via browser of choice
  5. Click on "you" at upper-right > iCloud Settings
  6. Click Data Recovery tab, click on a Contacts backup under "Restore Contacts"
  7. Turn iCloud Contacts on Mac back on
 
Last edited:
Apart from the fact that, for some reason I can't log in to iCloud right now, wouldn't iCloud have updated the Contacts list when I b***d it up? It certainly is the messed up list that is now on my iPad and iPhone.
I am going to contact Apple support about the log in issue. It is odd as I can access my Apple ID to pay for stuff but not login directly.
 
iCloud will have some number of backups (5?), so yes, will have the borked setup but will also have what was prior to the duplication. Will see a list of dates in there so can decide “bad” vs “good” backup.
 
Hi all, thanks for your advice.
I have followed NoBoMac's advice above, using my iPad to sign in to iCloud which seems to work, restored the Contacts from 1st March and it has fixed the list on the Mac, however there is still the messed up Contacts list on my iPhone and iPad !!?? I am worried that that might just sync back to the Mac, also I use the Contacts list on the iPhone when making calls so would like that to be correct also.
Any ideas please?

Update, I separately logged in to iCloud on the phone and iPad and carried out a restore of Contacts so they are all back to the 1st March data. Hurray!! Thanks again for all your help
 
Last edited:
Not sure what you mean by "I separately logged in to iCloud on the phone and iPad and carried out a restore of Contacts" but iDevices should have updated/synced on their own once restore done on iCloud.com

If not, can always turn off iCloud Contacts on iDevices, tap "delete from device", wait a moment, re-enable iCloud Contacts to sync the server copy.
 
Not sure what you mean by "I separately logged in to iCloud on the phone and iPad and carried out a restore of Contacts" but iDevices should have updated/synced on their own once restore done on iCloud.com

If not, can always turn off iCloud Contacts on iDevices, tap "delete from device", wait a moment, re-enable iCloud Contacts to sync the server copy.
I thought they should have synced as you say, but they didn't so it had to be done separately. Very odd as they clearly had synced with the bad list that I had created.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.