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

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 08-25-2011, 04:27 PM
Active Member
 
Posts: 31
Default z2z contact migration

I'm looking at migrating one of our clients from Zimbra OSE 6.1 to Zimbra NE 7.0.

I'm testing out the commands from this PERL script before running it whole hog:
Zimbra to Zimbra Server Migration - Zimbra :: Wiki

Imapsync works great and so does the wget/curl commands for the calendars.

The .csv is easily obtained with wget, but the import fails.

This is the command I'm running
Code:
[root@mail ~]# curl -u test@mydomain.com:testpassword --data-binary \@contacts.csv.1 https://mail.mydomain.com/service/home/test@mydomain.com/contacts?fmt=csv --insecure
And it returns an html page with this error:
Code:
HTTP ERROR 400
Problem accessing /service/home/test@mail.bbits.ca/contacts. 
Reason:Could not parse csv file - Reason : no column name definitions
Powered by Jetty://
These are the contents of my test csv:
Code:
[root@mail ~]# cat contacts.csv
"email","firstName","jobTitle","lastName","mobilePhone"
"test@testing.test","Jimmy","","It's Jimmy","6048882256"
"mary@petermarypaul.com","Peter","Just make any changes that.....","Paul",""
Wondering if any of you fine folks have any suggestions?
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.