Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-30-2007, 07:12 PM
Junior Member
 
Posts: 6
Default Restore User Calendar.

Today a user came to me with a blank Zimbra calendar. I don't know how all their appointments were removed, but have been tasked with getting them back. I have read through all the backup/restore documetation, but when I try to do a restore, the calendar does not restore along with everything else.

Does anyone have any insight as to what I may be overlooking or doing wrong?

Thanks. Any and all help is appreciated.

--EDIT--

Fixed.

Last edited by kevinmiller; 10-31-2007 at 07:50 AM.. Reason: Fixed
Reply With Quote
  #2 (permalink)  
Old 12-10-2007, 02:55 PM
Intermediate Member
 
Posts: 19
Default

How did you fix it?

I have a user on Leopard who doesn't get all his meetings to show up on iCal. To fix it I had him install the latest iSync connector but that didn't fix the problem. While he was messing around trying to clear out his data he deleted all the entries in his Zimbra calendar.

I tried restoring his account from the latest backup but the Calendar was not restored. What gives? The wiki doesn't say yeah or nay.

Do I have to do something else to restore his Calendar? This is on Network Edition 4.5.10.

-Dave
Reply With Quote
  #3 (permalink)  
Old 12-11-2007, 03:56 AM
Junior Member
 
Posts: 6
Default

Dave,

Here is what I had to do. It comes with no warranty.

1. Restore that user's mailbox to a new user account. In this way user's existing mailbox will not altered.
$ zmrestore -a accountname -ca -pre newaccountname password -rf
2. Check if you can see appointments in the calender of the new account.
3. If you found all calender data, save it in a ".ics" file by entering following url in browser.
http://server/zimbra/home/username/calendar.ics - replace server with your servername.
4. Place the .ics file on the server i.e. /tmp/Calendar.ics
5. Run: curl -u usernameassword --data-binary @/tmp/new.ics http://server/service/home/username/calendar?fmt=ics -replace username and servername with your values.

Check following links for more information about importing/exporting ics files. Please let us know for further clarification.

User Migration - Zimbra :: Wiki
User Migration - Zimbra :: Wiki

Good Luck!
Reply With Quote
  #4 (permalink)  
Old 12-11-2007, 09:58 AM
Intermediate Member
 
Posts: 19
Default

Kevin,

Thanks for the heads up. It's shocking that we pay for Network Edition and this functionality is not included. Is the calendar a 2nd class citizen to mail? Seems like it.

I will give your method a try and let you know if I run into any problems.

Thanks again,

-Dave
Reply With Quote
  #5 (permalink)  
Old 12-14-2007, 02:43 AM
Special Member
 
Posts: 137
Default

for the curl command, what are the username password you need to supply. IT helpdesk is not supposed to know the user's password !
Reply With Quote
  #6 (permalink)  
Old 03-17-2008, 09:27 AM
Loyal Member
 
Posts: 88
Default

Quote:
Originally Posted by NOZIL View Post
for the curl command, what are the username password you need to supply. IT helpdesk is not supposed to know the user's password !
This is an issue for me too. Is there a way to authenticate against the admin account (I've tried it and can't get it to work).

I've used the procedure above to restore calendar items to a test account, but I don't want the user to have to give me their password or have the hassle of changing password after I'm finished.
Reply With Quote
  #7 (permalink)  
Old 03-17-2008, 04:54 PM
dNb dNb is offline
Active Member
 
Posts: 38
Default

Quote:
Originally Posted by NOZIL View Post
for the curl command, what are the username password you need to supply. IT helpdesk is not supposed to know the user's password !
See this message for one way to do it using the admin password.

-- dNb
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.