Cant open ical to backup calendar

I had to reformat my computer due to an OS error. Luckily I backed up my whole HD on an extrernal drive before I reformatted. I need to know where the files that store all my ical info are located so I can somehow put them back into my new fresh calendar.
I didn't backup my calendars from ical, I just copyed my whole HD and need to know where the calendar files are normally stored.
thanks

Hi Justin,
In Tiger the calendar files are stored in folders in Library> Application Support> iCal. The name of the calendar is stored in the info.plist file and the actual data is stored in the corestorage.ics file.
I have an Applescript that makes a valid iCal backup file on your desktop from this. Copy and paste the blue text below into Script Editor (Applications>Applescript>Script Editor), press run and navigate to your old Application Support folder. You should then be able to choose File>Revert To Database Backup... from iCal and select the file on your Desktop.
-- Make iCal Backup --
-- Makes icbu file for iCal at user's Desktop.
-- Will only work in 10.4.
-- John Maisey -- 5th September 2005 -- 1.1
-- Added option to locate info in other locations. 15 Jan 2006
set myPath to (path to desktop from user domain)
set myAppSuppPath to alias ((choose folder with prompt "Locate your old Applcation Support folder.") & "iCal" as text)
set myNowFormat to do shell script "date +%FT%TZ"
set myDayFormat to do shell script "date +%d/%m/%Y"
set myNewName to ("iCal " & myDayFormat & ".icbu") as text
set myPreamble to "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" & return & "<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">" & return & "<plist version=\"1.0\">" & return & "<dict>" & return & " <key>date</key>" & return & " <date>"
set myPostamble to "</date>" & return & " <key>version</key>" & return & " <string>1.0</string>" & return & "</dict>" & return & "</plist>"
set myPlist to (myPreamble & myNowFormat & myPostamble)
tell application "Finder"
if exists file myNewName of myPath then
set myButton to button returned of (display alert "\"" & myNewName & "\" already exists" message "Would you like to replace this file?" as warning buttons {"Cancel", "Replace"} default button 2 giving up after 120)
if myButton is "Replace" then
delete file myNewName of myPath
else
return
end if
end if
set myFolder to (duplicate myAppSuppPath to myPath)
delete (files of myFolder whose name contains "sync" or name contains "alarms")
set myInfoPlist to make new file at myFolder with properties {name:"Info.plist"}
my WriteToFile(myInfoPlist as text, myPlist, true)
set name of myFolder to myNewName
end tell
--handler to write text to text file with flag to clear text before
on WriteToFile(theFile, theText, clearFLag)
try
open for access file theFile with write permission
end try
if clearFLag is true then
set eof of file theFile to 0
end if
write theText & return to file theFile starting at eof
try
close access file theFile
end try
end WriteToFile
Post back if you have any problems with this.
Best wishes
John M

Similar Messages

  • Cant open ical after doing program update

    I recently did some updates on my computer. when to open Ical and this was my error message:
    “Calendar Cache” could not be moved because you do not have appropriate access privileges for “Calendars”.
    To view or change access privileges, select the item in Finder and choose File > Get Info.
    It will not let me in or see any part of my calender. I have searched around my computer, but have no idea as to what the message wants me to do. Cant even tell you what version I have because it wont tell me anything. But my computer is about a year old.
    Any help is greatly appreciated.

    pascale,
    Quit iCal and navigate to your Macintosh HD/Users/yourusername/Library/Calendars Folder, and find the "Calendar Cache" file. Drag that file to your trash and restart iCal.
    The Calendar Cache file will be rebuilt and hopefully iCal will once again function properly.
    ;~)

  • Tiger upgrade- wife cant open ical

    Hi- I recently updated to tiger from panther, then updated to 10.4.2. Have been consist in running disk permissions. I have seperate user accounts for my wife and I (I'm the admin). Since updating to tiger, Ical bounce onces when she clicks on it and that's it- no flippy triangle. I checked get info from my side and it says
    Owner/system- read & write
    group/admin- read & write
    others read only
    Does my wife fall into the others group? I tried to change others to her login but it only reverts back to "others". I've deleted plists, reopened, but nothing.
    Any ideas? Thanks!!!
    Mike

    My standard contrary position/experience: I have never reformatted a drive when doing Macintosh operating system upgrades. Not once.
    I'd suggest you run every piece of diagnostic and repair software you have at your disposal and maybe check with the Tiger forum before you commit to a scorched earth reformat and reinstallation of everything. Incredible pain in the patootie.
    BACK UP EVERYTHING BEFORE YOU DO ANYTHING ELSE. That means use a cloning application like CarbonCopyCloner (versiontracker.com) and NOT a simple backup app.
    bogiesan

  • Opening old ical from backup

    I had backed up my computer onto an external & then created a new profile on my computer; which I have been using for several months.
    I have synced my iPhone several times and added events to iCal, etc, however, I tried to open the iCal I have on my external and try to get them to sync together; but I keep getting the "You can't use this version of the application iCal with this version of Mac OS X You have iCal 4.0.4"
    I REALLY want my old events from the old iCal on my external; can anyone help?!

    Hi,
    The calendar data is stored in your User profile in ~/Library/Calendars in OSX 10.5.
    The following solution does not take into account any syncing issues and as a precaution I'd suggest you make a backup using the option in iCal's File menu and then turn syncing off on any synced calendars before you do the following.
    After closing iCal replace the '~/Library/Calendars' folder with your earlier backup and delete the 'calendar cache' file. When you open iCal it should rebuild the cache, which may take a few minutes.
    Best wishes
    John M

  • We have an older IMac (preIcloud) and just purchased a new Macbook Air. Our Iphones are set-up to synch with the IMAC and my calendars on the IMac & the phone look the same. But when I open ICal on the MacBook Air my calendar is missing items? Help..

    We have an older IMac (preIcloud) and just purchased a new Macbook Air. Our Iphones are set-up to synch with the IMAC and my calendars on the IMac & the phone look the same. But when I open ICal on the MacBook Air my calendar is missing items? Help.

    Are you wanting to import iCal to the MacBook Air. Since iCloud doesn't work with 10.6 OSX you probably don't have any data in iCloud yet?

  • When I open ical, the calendar looks like an old desk pad vs what is in the manual.  How do I change the view (not month, day, week), but the background presentation?

    When I open ical, the calendar looks like an old desk pad vs what is shown in the manual or on-line tutorials.  How do I change the view (i.e. background) not the month/day/week view but the background template?  The default in the manual is good.  Software is current - Lion. 

    Kelly,
    Try: MacNix: Change Mac OS X 10.7 Lion iCal and Address Book Skins from Leather to Aluminum.

  • I upgraded to Mountain Lion (MacbookPro). Now when I open ical I get a popup window with a list I had added to Reminders app with the message 'Your calendar couldn't be refreshed' it won't go away-'delete' is greyed out-can't access calendar! Help!

    I upgraded to Mountain Lion (MacbookPro). Now when I open ical I get a popup window with a list I had added to Reminders app with the message 'Your calendar couldn't be refreshed' i--t won't go away-'delete' is greyed out--can't access calendar! Help!

    I upgraded to Mountain Lion (MacbookPro). Now when I open ical I get a popup window with a list I had added to Reminders app with the message 'Your calendar couldn't be refreshed' i--t won't go away-'delete' is greyed out--can't access calendar! Help!

  • When I open iCal all my delegate's calendars are checked every time.

    Since upgrading to Mavericks when i open iCal or even just maximize it from the dock all my delegate's calendars are checked. My whole work team (8 people with multiple calendars) are listed as delegates so each time I have to uncheck them all to see mine only. I do need to see their calendars at time but never all at once which seems to be the default in this new version. I've scoured the preferences looking for something that I may need to change but have been unable to remedy the issue. I've attached a screenshot. Thank you in advance!

    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to rebuild the thumbnails. It can take 3 or 4 goes for this to work

  • I made a mistake by saving a web page and moving it to ical on my mac air. now i can open ical but cant access it as it says i have a systems error . how do i fix it ?

    i made a mistake by saving a web page and moving it to ical on my mac air. now i can open ical but cant access it as it says i have a systems error . how do i fix it ?

    Changing body text is not simple. It's a desperate last resort. You need to buy the exact font. Acrobat will not let you edit in a font you don't own. Even then, it's undertain. Consider preparing an overlay in InDesign.

  • New computer with 7.01 firefox does not show previous bookmarks tho all other files restored with my ClickFree backup. Found the profile but cant open places.sqlite

    safely transferred all my saved files from old dead Vista to new computer with Windows 7 except for my firefox 7.01 bookmarks & QuickNote add on. i downloaded QuickNote but it is blank too. Found the profile C:\Users\AppData\Roaming\Mozilla\Firefox\Profiles\8oy034hg.default & places.sqlite but cant open the file.Windows ask what program I want to open the places.sqlite file & i said Firefox but it doesnt open. How do I open the file & get my bookmarks & QuickNote back. help pls

    Why not install and try Firefox portable, it may well be a good troubleshooting step. Try running it from an external memory stick.
    The threads you referred to
    * [/questions/956861] was closed but never solved
    *[/questions/958824] similar
    Some system information would help
    *How much RAM is installed ?
    *What is the total size of the Hard Disk Drive ?
    *What is the current amount of free-space in GB ? and as a percentage ?
    I try not to use Windows but certainly at one stage a rule of thumb was 20-25% free space should be available. Under about 12% defragging of a disk would likely fail. A page file would need to be larger than the amount of RAM maybe 1.5X , and a hibernate file would be the size of the RAM.
    * Do not Hibernate if you are low on HDD space.
    I suggest you proceed as follows
    #Answer the above questions. I worry you have a lack of diskspace.
    #Do a full scan with multiple and up-to-date anti-malware tools. Do not rely on Avast alone. No tool picks up everything. Report back what you scanned with and what was found.
    #Backup and keep whatever profiles may be good or may contain recent information such as passwords and bookmarks, but do not use them yet.
    #Download a new installer then Do a clean reinstall of Firefox, ensuring that the program folders are deleted before you re-install.
    #Now restart, you expect the first restart to work. Close down and try again does it now work OK ?
    The detailed instructions in the thread you read [/questions/958824#answer-436552] should help you.
    If you have continuing problems is this after a restart of Firefox, or a restart of the Windows Operating System ?

  • I cant open my email and also can't open my calendar

    I need help my son was on my computer and now I can not open my mail or calendar. The icons are gone i need help thank you

    The icons were probably removed from the dock... you can go to your applications folder and open up the programs from there... when the program is open you can right click on the icon and go to options, keep in dock.

  • Cant restore ical backu with icloud :(

    Hello, i got serious problem with syncing ical icloud and nokia phone.
    After enabling icloud isync syncing with my nokia just stopped working. It says i need "on my mac calendar". Ye great so iCloud made my life much harder! Another problem is i miss deleted some calendar and now i am not able to import backup. If i click import and importing my .icbu file its succesfully import but after few seconds all my imported events are deleted and the icloud ones are loaded again...
    in short:
    So I cant restore backup because of unstopable syncing with icloud
    I cant sync my non iphone phone with my computer
    Even in case i finally buy iPhone i cant sync anymore because my calendar is in file that cannot be loaded to my ical or icloud
    what i tried:
    disable icloud and logout
    result:
    after importing the backup connection to icloud is automatically re-created and disapearing of my calendar data starts.
    I wont do something like disconecting or manual recreating all my event. I paid lot of money for mac so i suppose that "it will just work".
    Thank for any help.

    When you restore a synced calendar which was deleted, the sync process helpfully brings it back into sync by deleting it.
    There is a workaround, though it's a bit of a fiddle - please see this page:
    http://www.wilmut.webspace.virginmedia.com/notes/timemachine.html
    It's written for MobileMe but AFAIK it should work for iCloud (please let us know if it does)/

  • I  cant open iphoto here, open with a circle turning show loading,how to fix it. help!! i nit to reopen it and keep my precious photo

    i  cant open iphoto here, open with a circle turning show loading,how to fix it. help!! i nit to reopen it and keep my precious photo

    What version of iPhoto?
    If it's 09 or later try
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • I recently upgraded to snow leopard and now every time i open iCal i get multiple events to update in iCal

    I recently upgraded to snow leopard and now every time i open iCal i get multiple events to update in iCal.  Except I don't know where these are coming from or why.   I've check iCal preferences and Help - can't find a way to stop this from happening automatically.  Any Clues?  Also, some of the events are already on my calendar and have been for quite some time.

    Greetings,
    What do you mean by "events to update"?  Do you mean invites to new events or changes to existing invites?
    Troubleshooting:
    1. Your profile indicates you are running 10.6.7, 10.6.8 is the current version Apple > Software update.
    2. First make an iCal backup:  Click on each calendar on the left hand side of iCal 1 at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    3. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    Home > Library > Preferences > com.apple.ical (There may be more than one of these. Remove them all.)
    ---NOTE: Removing these files may remove any shared (CalDAV) calendars you may have access to. You will have to re-add those calendars to iCal > Preferences > Accounts.
    3. Launch iCal and test.
    Hope that helps!

  • A quick view marker in calendarto view upon opening ical monthly view

    Hi,
    How can I put an asterisk/similar marker onto a date in the monthly view of ical to highlight that there is an event on that date, which can be viewed when first opening ical without having to actually open all the days to see if an event is on for that day? Sometimes I forget what i have on in a given month and have to open all dates to view them!
    Thanks,
    george UK

    You must mean the mini calendar's monthly view, and you don't use the month view in iCal otherwise? In month view, you already have all events and days available so I don't think that's what you intended. I can't imagine opening individual days to see if events are contained within.
    I think you can achieve what you want simply by toggling the month view at the top of the window, as the mini calendar is only useful for an overview of days. Two clicks at the top and you've scanned the entire month in detail then returned to your original view.

Maybe you are looking for

  • EFYPT is not in the list for face time

    How could I activate Egypt in the list of countries to use Face time on Mobinil network for iphone 4s as I purchased from suisse?

  • Remote Panels not working in embedded viewing mode

    Hello, I'm trying to develop a web version of my project using Labview remote panels. I configured the web server properties as it's described here: http://www.ni.com/white-paper/4791/en/ Currently I'm trying to create the web page on the web publish

  • SAP or Oracle Projects or Niku???

    SAP has this industry applications for a Homebuilder. I am a consultant for a big low income housing outfit and we want to integrate everything. Niku has a good ASP model for projects. What would be the advantages of Oracle.. Anyone? Thanks!!!

  • IPad current month doesn't show any events on load.

    I have an iPad original running last iOS 5 allowed. Whenever I launch my calendar, set to month view, the current month is blank. I have to click any previous month, which displays all events properly, and then click back to current month which force

  • Missing 'Sensors' tab in Jdev 11g

    Hi, I'm using JDeveloper 11.1.1.2.0 and I need to create a BAM sensor. I'm following the tutorial included in this book: http://www.oracle.com/technology/products/soa/soasuite/11gthebook.html on page 391, first line says: "Click on the Sensors tab to