Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iCal restore from Time Machine backup

I accidentally deleted some iCal appointments, does anyone know how I can restore them from Time Machine? It seems a bit cryptic in the Library files

iCal-OTHER, Mac OS X (10.7.3)

Posted on Apr 3, 2012 5:25 PM

Reply
Question marked as Best reply

Posted on Apr 3, 2012 5:31 PM

Greetings,


When you restore your calendars from Time Machine you are restoring the entire set of calendars. There isn't an easy way to pick and choose specific events as all the events live together.


  1. Open iCal
  2. Go to Calendars > Go Offline
  3. Go to iCal > Quit iCal
  4. Restore your Calendars folder from Time Machine from Home > Library > Calendars from a point in time when the information you wanted was present. Be aware that any data added after that point in time will be lost.
  5. Open iCal
  6. Highlight each calendar one at a time on the left hand side and go to File > Export > Export and save the resulting calendar to the desktop.
  7. Go to Calendars > Go Online
  8. If the calendars delete themselves (which sometimes happens when syncing is involved) you can reimport them from the ics files on your desktop.



Hope that helps!

34 replies

Oct 24, 2012 3:41 PM in response to MadisonP

When I go to the time machine external drive, go to home (or the hard drive), library, ical or calendars is not an option. Please help me! I need my calendars back asap.

Oct 24, 2012 4:32 PM in response to Community User

For the many, many people with this problem I want to repeat my advice that this solution : http://chasingaftermoonbeams.blogspot.co.uk/2012/05/restoring-lost-ical-events-a nd.html

has worked for me where dozens of others didn't. It's as if the deletion of everything gets rid of things that otherwise cause trouble. I don't think this course of action is any more complicated or difficult than any other, but its comprehensiveness seems to get rid of all the rubbish that's sending the system crazy.

I've posted this before.

Nov 26, 2012 1:03 AM in response to MadisonP

Madison, and Others...

Thanks for the guide... By being a little careless, I had ended up importing my daughters extensive Calendar (1,000's of events, for herself, two children, and a husband) from her HotMail account over the top of my personal Calendar. I was able to recover my self, following your guide.

However: there is are a few more key steps needed for those using iCloud to sync multiple iThingies.

I have added these steps to your guide [and updated iCal to Calendar] as follows...


Key steps for those synced to iCloud. Recognise that iCloud is the master, and will keep all devices synced.

So if you mess up Calendar on one device, it will be messed up on all.


Restoring Calendar from Time Machine [when Calendar syned with iCloud],

When you restore your calendars from Time Machine you are restoring the entire set of calendars.

There isn't an easy way to pick and choose specific events as all the events live together.


  1. Open Calendar on iMac, and identify the offending Calendar [Robert], or Calendars, and quit Calendar.
  2. Go to https://www.icloud.com/#calendar, select the Calendar [Robert], and delete it.
    It will be deleted from all iPhone, iPod, iPad devices. Log off and quit from iCloud.
  3. Physically disconnect the Mac from Internet [I removed Ethernet cable from the ADSL Router]
  4. Restore Calendars folder from Time Machine from ~Library, Calendars from an appropriate point in time.
    Be aware that any data added after that point in time will be lost.
  5. Open Calendar, and highlight each calendar one at a time on the left hand side and
    select File, Export, Export and save the resulting calendar .ics file to the desktop.
  6. Reconnect the iMac to Internet [plug Ethernet cable back into the ADSL Router]
  7. iCloud will delete the restored Calendar(s) [since it is the master].
    Re-import them from the Calendar .ics files on the desktop.


Hope this clarifies the situation, for Others...

And I hope Apple makes this a bit easier in furture.

For example, Contacts .vcf files [groups of contacts] can be imported directly into iCloud Contacts,

But Calendar .ics files cannot, so moving over from HotMail to iCloud is just that bit more awkward.


Robert

Mar 31, 2013 6:57 PM in response to galeu

Heres a way i figured out if you only want to restore only a single item from your calendar. Hope it works fine.


With icloud


1. Open terminal

2. chflags nohidden ~/Library/

3. Disable icloud syncing for the calendar in the settings

4. Delete from mac? Yes

5. Disable connection from internet

6. Open "Library" in finder in your "Username" directory on HDD

7. Now open time machine (folder should open)

8. Select useful time for recovery

9. Restore the "Calendar" folder

10. Replace files? Yes!

11. Open ical and save the needed Calender item on HDD (on x)

12. Connect to Internet

13. Open Calender

14. Add the saved and needed file from your HDD (from x)


Without icloud


1. Open terminal

2. chflags nohidden ~/Library/

3. Open ical and export all calenders onto your HDD

6. Open "Library" in finder in your "Username" directory on HDD

7. Now open time machine (folder should open)

8. Select useful time for recovery

9. Restore the "Calendar" folder

10. Replace files? Yes!

11. Open ical and save the needed Calender item on HDD (on x)

12. Reimport your calender from point. 3.

14. Add the saved and needed file from your HDD (from x)


Greetings

Fkuhn

Jul 31, 2013 2:21 PM in response to galeu

For those of you who don't want to mess with Terminal, here's a simple trick that will allow you to look into your Home/Library folder without permanently "revealing" it via Terminal.


1. Hold down your "Option" key while clicking on your "Go" menu item. As mentioned in other posts, this will temporarily expose your Library folder in the drop-down menu. Slide down to select "Library".


2. This move should open up a Finder window with the contents of your Library folder in view.


3. Now drag and drop your "Library" folder over onto the left Sidebar of your open Finder window. You'll have to drop it somewhere within the "Favorites" llst.


This move should create a shortcut to your invisible Library folder. If you'd like to remove the shortcut to your Library folder from your Sidebar, simply Control-click the shortcut, and then choose "Remove from Sidebar".


Grampa Doodie.

Nov 25, 2013 6:54 PM in response to Appleguy514

Thank you so much! After wading through a whole bunch of stuff, this was the thing that finally got me to restoring my calendar. (Stupid iCloud, grumble, grumble, was just trying to turn it off cause it was interrupting everything and then lost my whole calendar, grumble, grumble.)

ANYWAY - it still took me a while, even with this completely accurate, helpful advice -

so I thought I'd add:

The thing that I couldn't work out for a while was that I needed to (once I got the Library in my Finder through the ALT/Option key)

Open Time Machine

Then open the Library/Calendar in Time Machine in the Finder for the Current moment (i.e. the one that now has the Library choice)

and THEN go back in time to the version before the iCloud destruction.




Then once everything was back, I printed my calendar. Just for quadruple surety.

Nov 26, 2013 11:36 PM in response to galeu

Hi all - Hope someone can help:


I've lost all ical entries and need to backup from Time Machine. I've been through the posts above, which suggest I need to find the "Calendar" folder within Library - first on my mac to clear it, then on my hard drive to replace it.

I'm stuck at the first hurdle - I can't see a calendar folder in Library - and have searched to no avail.

Simple question from simple non tech apple newbie!


Thanks.

Dec 1, 2013 10:20 PM in response to Helen 1

Helen, you have probably got your self sorted out by now, but just in case you have not...

To access your Calendar files in OS X...

a) Open Finder, then, from the Top Menu Bar, while holding down the Option Key, select Go, Library

b) open Time Machine, it will find and display archived version of the entire Library, select the Calendars folder...

c) Move backwards to a time when you are confident your Calendars were OK [before you lost all of your Calendars],

d) when you are ready [refering and following steps 01 to 07 below], select Calendars, and Restore from Time Machine.


Note: For simplicity, in Apple technical terms, the file path name "Hard Drive, Users, Your User Name" is abreviated to a single ~ character.


Robert.



Restoring Calendar from Time Machine [when Calendar synced with iCloud],

When you restore your calendars from Time Machine you are restoring the entire set of calendars.

There isn't an easy way to pick and choose specific events as all the events live together.


  1. Open Calendar on iMac, and identify the offending Calendar [Robert], or Calendars, and quit Calendar.
  2. Go to https://www.icloud.com/#calendar, select the Calendar [Robert], and delete it.
    It will be deleted from all iPhone, iPod, iPad devices. Log off and quit from iCloud.
  3. Physically disconnect the Mac from Internet [I removed Ethernet cable from the ADSL Router]
  4. Restore Calendars folder from Time Machine from ~Library, Calendars from an appropriate point in time.
    Be aware that any data added after that point in time will be lost.
  5. Open Calendar, and highlight each calendar one at a time on the left hand side and
    select File, Export, Export and save the resulting calendar .ics file to the desktop.
  6. Reconnect the iMac to Internet [plug Ethernet cable back into the ADSL Router]
  7. iCloud will delete the restored Calendar(s) [since it is the master].
    Re-import them from the Calendar .ics files on the desktop.


Helen, I hope this helps you sort out your situation...

Dec 17, 2014 7:40 AM in response to MadisonP

Thanks so much for your help, but I had to quit when I got to Step 2 because there is no option under Calendars to go "offline." Think of me as a pre-schooler. Altho you gave me step-by-step instructions, I need those instructions broken down even further. So what does one do when they open iCal, go to Calendars but don't know how to go offline?

Jul 2, 2015 11:32 PM in response to galeu

For those unable to "Go Offline" - this is what worked for me. Easier for me to understand than any other instructions. Be sure to read through all the instructions before proceeding:

https://www.gcsdstaff.org/roodhouse/?p=3289&cpage=1#comment-469414

Restore iCal Calendars from Time Machine Backup in OS X 10.8 or 10.9

Time Machine is a great backup tool and usually works pretty flawlessly. One area that could be improved is in recovering iCal Calendars. To recover your iCal Calendars from a specific time you have to jump through a few hoops and do a few steps that may not seem very intuitive. Here is how:

1. Make Sure iCal is closed and not running.

2. First Connect your backup Time Machine Device and Turn off your WIFI (and disconnect Ethernet if hard wired)

User uploaded file

3. Next Click on Finder and click on the word GO | Go to Folder

User uploaded file

User uploaded file


4. Type in ~/Library

User uploaded file

5. Now Click on Time Machine and Enter Time Machine

User uploaded file

6. Using Time Machine go back in time to the date where your Calendars were good. Now in the Finder windows find the folder Calendars and click to restore this entire folder. You can Restore it to your Desktop.

7. Exit Time Machine and Drag / Copy this folder Calendars on your desktop to your Library Folder. You can click again on Finder | Go to Folder | ~/Library if you missing the windows. (Step 2 Again).

A message will appear letting you know there is already a Calendar folder, click on REPLACE or Replace All.

User uploaded file

7. Now Restart the Computer. Do Not Open iCal yet. You must first restart the computer or logout first and then after you are logged back in, then start iCal. Your Calendars will be back (you may need to wait a minute or it to and you may see a message saying restoring calendar events.

After Restoring the Calendar Folder and copying it to ~/Library (Replacing the Folder) Make sure to reboot the computer before starting iCal.

User uploaded file


Thats it Calendars are restored. A bit of hassle but can be done.




If you are concerned about iCloud reverting to the version you DON'T want:

1. Follow all the steps outlined in the original post, but disconnect ALL your devices from iCloud.

2. Once the restored calendar is appearing in iCal (before reconnecting to the internet)select it in the calendar sidebar, then export the relevant calendar to your desktop. (file/export)

3. Close iCal, reconnect to the internet, open ical again. The desired calendar will most likely have now disappeared.

4. Create a new calendar in iCal, within iCloud – File/New Calendar/iCloud

5. Import the saved .iCS file that you exported in step 2, to the new calendar that you’ve created.

6. Reactivate iCloud on all of your devices and wait for everything to sync back up again.

A few hoops, but much less invasive than deleting library cache files etc. (which didn’t work for me anyway)

iCal restore from Time Machine backup

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.