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 06-04-2007, 10:30 AM
Active Member
 
Posts: 35
Default Trying to import calendar entries

I'm in a situation where I need to move some users from one domain to a different domain, while keeping their calendar and contact data. (Also moving from a test Zimbra machine to a production Zimbra server.)

The user interface Options/Address Book has handy export/import functions that worked perfectly. (Can't we get that for calendars?) Then I found a wiki entry that shows how to use REST to get everything. I saved a copy of the calendar.ics file on the test Zimbra machine and then tried to use a command shown in the wiki but I'm getting errors. Should something like this work?

curl -u joe@mydomain.comassword --data-binary ./calendar.ics http://mynewzimbraserver.com/service...lendar?fmt=ics

The error I get is a bunch of tomcat stuff, but it seems to start with:

<b>root cause</b> <pre>com.zimbra.common.service.ServiceException: parse error: Caught ParseException parsing calendar: net.fortuna.ical4j.data.ParserException: Expected [BEGIN], read [./calendar.ics] at line 1
./calendar.ics

I checked the first line of the calendar.ics file and it says BEGIN:VCALENDAR
so I'm not sure where to look for a problem.

Any ideas?
Reply With Quote
  #2 (permalink)  
Old 06-04-2007, 01:11 PM
Active Member
 
Posts: 35
Default Never mind

I found my own problem. A silly mistake using curl.
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.