Restoring Deleted User Calendars 10.6.8

We manage several public event calendars in OS X Server 10.6.8 via a single user called "Calendars" that publishes all its public calendars to the server. To facilitate ease of management in users' iCal, I also created a second user - called "Almanac", to whom I have delegated "read only" access to these calendars via iCal's delegation tab in the "Calendars" account. Thus, most users view the calendars by authenticating iCal using the "Almanac" account, while two or three privledged calendar managers view and edit that same data by authenticaing using the "Calendars" account.
This worked flawlessly for years, until recently when for no apparent reason, the "Calendars" account was getting automatically disabled on the Server, causing authentication errors in users' ical and of course presenting event updates. At first I thought the fault lay in my OD policies, which are set to delete accounts after 90 days of inactivity. However, this particular account has been excepted from this policy in Workgroup Manager via the Avanced Tab/Options.
In the past, I've cleared up similar niggling problems by simply deleting and recreating the problematic user account, making sure to use the same short name and then running chown -r on the appropriate user home folder.  I did that with this account, and indeed it is no longer being disabled. However, all of the precious iCal calendar events have disappeared. I can see the calendars themselves when I log into the Calendars user account and start up iCal, but there are no events present. When I try to access the calendars on the server via a privledged or unprivledged user in iCal, I get the message:
"The calendar http://<my.server.FQDN>:8008/principals/__uids__/00C48532-BA77-478C-A4D3-17A848DD9F6D/ was not found on the server. Make sure the URL is correct."
Looking at the Calendar user home folder, it looks like the data is all still there in ~/Library/Calendars. On the server, I also see what appears to be the Calendar Server documents that match the above UID in /Library/CalendarServer/Documents/Calendars/_uids_/...  Of course, I also have multiple backup copies of all of these directories via TimeMachine, SuperDuper! and PresSTORE.
I've already tried rm all the user calendar cache files and resyncing, also tried trashing all the user iCal preferences. Also tried a full restore of the users home folder via TimeMachine and running chown -r again.
Thoughts anyone? Thanks.

Sorry - I meant chown -R of course.

Similar Messages

  • Restore deleted users in OID

    Hi,
    We have OID configured with our OIM system. I need to restore the users I manually deleted from the OID. I am not able to find this. Can anyone please let me know the steps to recover the deleted users from the OID.
    Thanks for the help.
    Ishank Mahajan

    From my understanding, from OID side, the only way is thru backup.
    I hope this helps,
    Thiago Leoncio.

  • Restore Deleted User

    We need to restore the eDirectory account as well restore the users GW account and all of their email messages. We found this doc to restore the user account which sounds easy enough.
    Novell Documentation
    It is restoring all of the users email that looks like it is going to require restoring all the post office files to another location (restore area).
    So, my questions are:
    1. Do we really need to restore the entire post office?
    2. Are there just certain db files we can restore without restoring the entire over 100GB of data from tape?
    Thanks

    * bpinet,
    you could drop some files, like all the unneeded user databases, and maybe even the message databases you don't need, but I assume the majority of space is being used in offiles (attachments). I found it's not worth the few megabytes, I just restore everything.
    Uwe
    Novell Knowledge Partner (NKP)
    Please don't send me support related e-mail unless I ask you to do so.

  • Restoring deleted iCal calendars and reading iCal log?

    Hello,
    I am running OS X Server 10.6.8, and one of the features I have enabled is iCal.  Several people at our office have access to this Caldav account (just one account signed in on multiple machines/calendars).  Over the weekend something (or someone) happened and now all but 1 of the calendars are gone!  So I have a few questions, and I'm hoping someone can help answer them...
    1. If a user deletes calendars, are they actually gone?  Do they remove themselves from the server/user machines, or is the information still there just not being displayed?
    2. Can I restore the calendars from a Time Machine backup?  According to this article from Apple, I cannot: http://support.apple.com/kb/PH8417
    3. The log has been running at Debug for a few weeks, so theres a ton of information to sort through.  I have little to no idea of what the log is saying, I can't really make heads or tails of it.  The only thing I am interested in is the deleted calendars - who, what, when, and where?  Does anybody know how to weed through the logs to find this information?
    Please let me know if anyone can offer any help, it would be much appreciated.  If you need more info/system specs please let me know.  Thanks!

    In answer to my own question, you can indeed restore the iCal data from Time Machine.  By restoring the entire /Library/CalendarServer folder I was able to re-attained my missing calendars.
    But the question of reading the log still irks me - can anyone help me sort through these logs to find exactly when the calendars were deleted?  Any tips for sorting, or keyworks to filter, to help me locate what happend?  Many thanks in advance.

  • TS4605 restore deleted icloud calendar

    I was on my laptop and accidentally deleted my main icloud calendar (which synchs across my iphone and ipad)
    I took my calendar on my laptop off-line, and then I grabbed my iphone and restored it from the latest icloud backup (which was 10pm last night - so I'd only lose any calendar changes I made in the last day). 
    The restore worked, but my main icloud calendar (and all of the data) are still missing?!
    Help! I can't make it to the Genius bar for 2 days and I need my calendar now! I am lost without it.
    I don't care what device the calendar gets put back on - I just need it on at least one!
    Suggestions?
    Thanks!

    The backup to iCloud is done only if you have set it up.
    Allan

  • Restore deleted ICloud Calendar (NO backup!)

    I accidentally deleted my ICloud calendar (IPhone on in my pocket!).  I do not have a Time Machine backup (I know, I know).  Am running OS 10.7.4 on an IMac, IBook and an IPhone.  Most recent .icbu file is from 01.2012 so not a perfect restore option.  Is there a backup on the ICloud?  Somewhere else?

    The backup to iCloud is done only if you have set it up.
    Allan

  • Restore deleted user account

    How do I restore a deleted admin user account?

    Did you save the data? Recreate it, using the same username and password. If you saved the date, mount the disk image and put the saved things in the new folders.

  • Restore deleted users

    Hi!
    The tree\LAN has 3 servers:
    1.NW6.5 sp 8 with BorderManager 3.9 sp2
    2.NOWS SBE 2.5
    3.NOWS SBE 2.0
    I need to add two users to the BorderManager PROXY (first server). They can't login through the FireFox browser.
    The users where deleted by mistake, in the past I used the NWADMIN32,
    I dont know how to do it other way and need help.
    TIA
    Nanu

    The problem was that the users were rebuid in a new context.

  • Restore deleted user account & preferences?

    I had two administrative accounts. One under Lacie and one under me. All of my preferences had been set under Lacie, since I was logging into that one more frequently. But, I decided to change the name of the account & to delete the other admin account. When I did that I also changed the "home" name. Now, all of my previous settings are gone. Is there any way that I can restore them? Also, I have servers that I used to be able to connect to, and now I'm not able to.
    Help?

    Search these forums for *lost admin* which brings up many threads including this one from Michael Conniff:
    http://discussions.apple.com/thread.jspa?threadID=121786&tstart=0

  • ICloud contacts syncing issues - restoring deleted users with other contact name

    Hello,
    Have you ever had a problem that iCloud restores a contact that is not on your phone anymore… and it restores with someone else name?
    Best regards,
    Mauro

    I'm having the same problem as yours.
    I got a few contacts mixed after updating to iOS 8.3.
    Please post the solution once you find it.
    Tks,
    GJ

  • How to restore a user's calendar agenda

    How to restore a user's Calendar agenda
    When you delete users from LDAP and then re-add them to a Calendar node, they
    will be assigned new nscalxitemid's.
    However, if you have not run any of the tools for removing these
    "orphan" entries, the old
    nscalxitemid's should
    still exist in the Calendar database.
    <P>
    To restore a user's agenda from the Calendar database, use the following steps:
    <P>
    <OL>
    <LI>Use ldapsearch to
    locate the user entries for the user who you are trying to restore.
    <P>
    Depending on what version of Directory Server you have, the
    ldapsearch command line
    utility will be in one of the following locations:
    <P>
    (Directory Server 3.x): <I>
    ServerRoot</I>/bin/slapd/server
    <P>
    (Directory Server 4.x): <I>
    ServerRoot</I>/shared/bin
    To search for the user with the UserID "bbunny," the syntax for
    ldapsearch would be as follows:
    <P>
    ldapsearch -D "cn=directory manager" -w <I>password</I>
    -b o=netscape.com uid=bbunny | more (All on one line)
    <P>
    It is also possible to dump the output of this command into a file, as in the
    following example:
    <P>
    ldapsearch -D "cn=directory manager" -w <I>password</I>
    -b o=netscape.com uid=bbunny > bbunny.txt (All on one line)
    <P>
    The LDAP entry for a Calendar user would appear something as follows (<B>Note:
    </B> The Calendar attribute, nscalxitemid
    is in <B>bold</B>, and the ID number
    is in <B>red</B>):
    <P>
    dn: uid=bbunny,o=netscape.com
    objectclass: top
    objectclass: person
    objectclass: organizationalPerson
    objectclass: inetOrgPerson
    objectclass: nsLicenseUser
    objectclass: mailRecipient
    objectclass: nsCalUser
    givenname: Bugs
    sn: Bunny
    cn: Bugs Bunny
    uid: bbunny
    nslicensedfor: mail
    nslicensedfor: calendar
    mail: [email protected]
    mailhost: st-thomas.netscape.com
    multilinedescription: I'm da wabbit!
    maildeliveryoption: mailbox
    <B>nscalxitemid: 10000:</B><B>00257</B>
    nscalflags: 0
    nscallanguageid: 0
    nscalsysopcanwritepassword: 0
    nscalpasswordrequired: 1
    nscaldefaultnotereminder: 0:0
    nscaldefaultreminder: 0:10
    nscaldefaulttaskreminder: 0:0
    nscaldisplayprefs: 4:480:1080:1:30:190:2
    nscaloperatingprefs:
    0:255:0:0:0:0:0:1440:0:1440:0:0:1440:0:1440:0:0:1440:0:14
    40:0:0:1440:0:1440:0:0:1440:0:1440:0:0:1440:0:1440:0:0:1440:0:1440
    nscalrefreshprefs: 1:60
    nscalnotifmechanism: 1
    nscaltimezone: 0
    <P>
    In the line <B>nscalxitemid: 10000:</B><B>00257</B>
    , "<B>10000</B>" is the node number and
    "<B>00257</B>" is the
    calID number.
    The number you will need to change is the
    calID number,
    "<B>00257</B>".
    <P>
    <LI>From the /unison/bin
    directory for Calendar, run
    unidsdiff
    or ctxdirdiff (whichever
    is available) to find the Calendar agenda that is missing an LDAP entry.
    <P>
    The syntax for these utilities will be as follows:
    <P>
    unidsdiff -n 10000
    or
    ctxdirdiff -n 10000
    <P>
    These utilities should list any entries that don't have a matching directory
    entry, usually in the following format:
    <P>
    nscalxItemid="10000:<B>00256</B>" (S="Bunny",G="Bugs")
    <P>
    The ID number in <B>red</B> is the ID that you will
    use to replace the ID number in the LDAP entry.
    <P>
    <LI>Use one of the following two options to update the LDAP entry:
    <P>
    <B>Option#1:</B>
    <P>
    <LI>Edit the file from the ldapsearch
    output by changing the
    nscalxitemid in this
    file to the correct <B>ID</B> from the
    unidsdiff/ctxdirdiff
    output (from step 2 above).
    <LI>Delete the user from LDAP.
    <LI>Use ldapmodify to
    re-add the user from the file you edited.
    (ldapmodify is located
    in the same directory as ldapsearch
    <P>
    For example,
    <P>
    ldapmodify -D "cn=directory manager" -w <I>password</I> -a -f <I>filename</I>
    </UL>
    <B>Option#2:</B>
    <P>
    <LI>Edit the file from the ldapsearch
    output using update statements that
    will update the LDAP entry without having to delete it.
    <P>
    For example, you can edit the output in step 1 above so that the file contains
    only the following lines with the correct
    nscalxitemid:
    <P>
    dn: uid=bbunny,o=netscape.com
    changetype: modify
    replace: nscalxitemid
    nscaxitemid: 10000:00256
    <P>
    <LI>Use ldapmodify to
    update the entry in the file, as follows:
    <P>
    ldapmodify -D "cn=directory manager" -w <I>password</I> -f <I>filename</I>
    </UL>
    </OL>
    After performing the above steps, you can use
    ldapsearch to locate
    the entry and verify that it was changed. The user should now be
    able to log into the Calendar Client and see her previous agenda entries.

    How to restore a user's Calendar agenda
    When you delete users from LDAP and then re-add them to a Calendar node, they
    will be assigned new nscalxitemid's.
    However, if you have not run any of the tools for removing these
    "orphan" entries, the old
    nscalxitemid's should
    still exist in the Calendar database.
    <P>
    To restore a user's agenda from the Calendar database, use the following steps:
    <P>
    <OL>
    <LI>Use ldapsearch to
    locate the user entries for the user who you are trying to restore.
    <P>
    Depending on what version of Directory Server you have, the
    ldapsearch command line
    utility will be in one of the following locations:
    <P>
    (Directory Server 3.x): <I>
    ServerRoot</I>/bin/slapd/server
    <P>
    (Directory Server 4.x): <I>
    ServerRoot</I>/shared/bin
    To search for the user with the UserID "bbunny," the syntax for
    ldapsearch would be as follows:
    <P>
    ldapsearch -D "cn=directory manager" -w <I>password</I>
    -b o=netscape.com uid=bbunny | more (All on one line)
    <P>
    It is also possible to dump the output of this command into a file, as in the
    following example:
    <P>
    ldapsearch -D "cn=directory manager" -w <I>password</I>
    -b o=netscape.com uid=bbunny > bbunny.txt (All on one line)
    <P>
    The LDAP entry for a Calendar user would appear something as follows (<B>Note:
    </B> The Calendar attribute, nscalxitemid
    is in <B>bold</B>, and the ID number
    is in <B>red</B>):
    <P>
    dn: uid=bbunny,o=netscape.com
    objectclass: top
    objectclass: person
    objectclass: organizationalPerson
    objectclass: inetOrgPerson
    objectclass: nsLicenseUser
    objectclass: mailRecipient
    objectclass: nsCalUser
    givenname: Bugs
    sn: Bunny
    cn: Bugs Bunny
    uid: bbunny
    nslicensedfor: mail
    nslicensedfor: calendar
    mail: [email protected]
    mailhost: st-thomas.netscape.com
    multilinedescription: I'm da wabbit!
    maildeliveryoption: mailbox
    <B>nscalxitemid: 10000:</B><B>00257</B>
    nscalflags: 0
    nscallanguageid: 0
    nscalsysopcanwritepassword: 0
    nscalpasswordrequired: 1
    nscaldefaultnotereminder: 0:0
    nscaldefaultreminder: 0:10
    nscaldefaulttaskreminder: 0:0
    nscaldisplayprefs: 4:480:1080:1:30:190:2
    nscaloperatingprefs:
    0:255:0:0:0:0:0:1440:0:1440:0:0:1440:0:1440:0:0:1440:0:14
    40:0:0:1440:0:1440:0:0:1440:0:1440:0:0:1440:0:1440:0:0:1440:0:1440
    nscalrefreshprefs: 1:60
    nscalnotifmechanism: 1
    nscaltimezone: 0
    <P>
    In the line <B>nscalxitemid: 10000:</B><B>00257</B>
    , "<B>10000</B>" is the node number and
    "<B>00257</B>" is the
    calID number.
    The number you will need to change is the
    calID number,
    "<B>00257</B>".
    <P>
    <LI>From the /unison/bin
    directory for Calendar, run
    unidsdiff
    or ctxdirdiff (whichever
    is available) to find the Calendar agenda that is missing an LDAP entry.
    <P>
    The syntax for these utilities will be as follows:
    <P>
    unidsdiff -n 10000
    or
    ctxdirdiff -n 10000
    <P>
    These utilities should list any entries that don't have a matching directory
    entry, usually in the following format:
    <P>
    nscalxItemid="10000:<B>00256</B>" (S="Bunny",G="Bugs")
    <P>
    The ID number in <B>red</B> is the ID that you will
    use to replace the ID number in the LDAP entry.
    <P>
    <LI>Use one of the following two options to update the LDAP entry:
    <P>
    <B>Option#1:</B>
    <P>
    <LI>Edit the file from the ldapsearch
    output by changing the
    nscalxitemid in this
    file to the correct <B>ID</B> from the
    unidsdiff/ctxdirdiff
    output (from step 2 above).
    <LI>Delete the user from LDAP.
    <LI>Use ldapmodify to
    re-add the user from the file you edited.
    (ldapmodify is located
    in the same directory as ldapsearch
    <P>
    For example,
    <P>
    ldapmodify -D "cn=directory manager" -w <I>password</I> -a -f <I>filename</I>
    </UL>
    <B>Option#2:</B>
    <P>
    <LI>Edit the file from the ldapsearch
    output using update statements that
    will update the LDAP entry without having to delete it.
    <P>
    For example, you can edit the output in step 1 above so that the file contains
    only the following lines with the correct
    nscalxitemid:
    <P>
    dn: uid=bbunny,o=netscape.com
    changetype: modify
    replace: nscalxitemid
    nscaxitemid: 10000:00256
    <P>
    <LI>Use ldapmodify to
    update the entry in the file, as follows:
    <P>
    ldapmodify -D "cn=directory manager" -w <I>password</I> -f <I>filename</I>
    </UL>
    </OL>
    After performing the above steps, you can use
    ldapsearch to locate
    the entry and verify that it was changed. The user should now be
    able to log into the Calendar Client and see her previous agenda entries.

  • My iphone 5 has been deleting my calendar. This is the third time- now it deletes my contacts, notes and reminders as well. Why is it doing this, and how can I restore everything?

    My iPhone 5s has been deleting my calendar. First time, just the calendar, then next time the calendar and contacts, then yesterday, calendar, contacts, notes and reminders. The phone is only 6 months old or so and is on iOS 7.1.2 (although I need to update it- but have to do some storage management first...)
    I have looked at my calendar in my icloud account and it is a week or so out of date, even though it supposedly backed up from my phone on Friday. I am becoming very frustrated by this. Am I doing something wrong? Advice would be much appreciated. In the past I have deleted my icloud account from my phone and then re-signed in, as well as sharing my calendar with myself to restore it, and it works eventually.

    Sorry I misstyped- it is an iphone 4s.

  • Is there any way to restore deleted calendars back onto my laptop from my iPhone.

    I recently installed Maverick on my laptop and have been having trouble syncing my iphone calendars with my laptop calendars, like I used to.
    Like an idiot, and without any research, I joined iCloud thinking I could sync calendars this way. I didn't realize that it deleted my calendars off my laptop in creating my iCloud calendars. The syncing with my iphone still didn't work, and so again, like an idiot and without research, I deleted my iCloud account ot discover that all my calendars on my laptop are now gone.
    My iphone still has the calendars on it, (albeit old and out of date), so is there a way to restore the deleted calendars back to my laptop from my iphone or from the backup on my laptop.?
    Running Maverick on laptop and iTunes 11.1.3. iPhone is an older 3gs but fully updated running 6.1.3
    Please help.
    Thanks!

    Triple-click anywhere in the line below on this page to select it, then copy it to the Clipboard by pressing the key combination command-C:
    ~/Library/Safari
    Quit Safari.
    Select
              Go ▹ Go to Folder
    from the Finder menu bar. Paste into the text box that opens by pressing command-V, then press return.
    A folder window should open. Restore the file named "History.plist" in that folder from a backup that predates the unwanted changes.

  • I've deleted my calendar.  How do I restore it?

    I have deleted my calendar by mistake.  I thought it was backed up to iCloud but it isn't.  It was backed up to Time Machine on the 8th April so am trying to restore that.  However, I cannot seem to find the file to restore.  Can anyone help me please?  I am very new to Apple.

    What device are you running on? And did you delete the app or the actual calendar file? I would love to help, but I need more information.

  • How do I restore a deleted iPhone calendar from my iCloud backup?

    How do I restore a deleted iPhone calendar from my iCloud backup?

    You can only restore the complete iPhone from a backup; you cannot restore selectively.
    To restore an iCloud backup  first go to settings/iCloud and turn off Find my iPhone, then connect the phone to a power source and within range of an WiFi connection, go to Settings/General/Reset - Erase all content and settings. When the reset completes you will be given the option to restore a backup.

Maybe you are looking for

  • Error in JMS receiver channel - XI - Weblogic

    Hi Experts We are also having the situation that we are sending messages from XI to Weblogic server with the help of JMS Adapter. The Queue is available in Weblogic server. Our configuration of JMS receiver Adapter is JNDI Lookup Name of Queue Connec

  • Insert and display images in a report

    Hi ABAPers, I need to insert and display an image (bitmap format) in a standard ABAP report. With the consideration that the image (an employee photograph) could vary depending on the employee numer the user enter as an input parameter for the report

  • How to open the forms in Form 9i which are saved and compiled in Forms 10g?

    Dear all, i have froms created with form 10g. now i want to open it in form 9i it gives the following error: FRM-30085 : Unable to adjust form for output. can i open it in form 9i? Regards: Muhammad Nadeem [email protected]

  • FM - Payment selection

    Good morning, I am facing problems related to the payment selection in FM. I have updated the Online payment update and so the splitting functionality. The splitting works properly. Now I would like to know which of the payment selections (Original V

  • Git completion strange behavior [SOLVED]

    Hi, i have problem with git completion. When i try to complete git commands ^[[1;33m^[[K c^[[m^[[Kommit f^[[m^[[Kmt-merge-msg rebase a^[[m^[[Kdd c^[[m^[[Kommit-tree f^[[m^[[Kor-each-ref reflog a^[[m^[[Km c^[[m^[[Konfig f^[[m^[[Kormat-patch relink a^[