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
And it returns an html page with this error:
[root@mail ~]# curl -u firstname.lastname@example.org:testpassword --data-binary \@contacts.csv.1 https://email@example.com/contacts?fmt=csv --insecure
These are the contents of my test csv:
HTTP ERROR 400
Problem accessing /firstname.lastname@example.org/contacts.
Reason:Could not parse csv file - Reason : no column name definitions
Powered by Jetty://
Wondering if any of you fine folks have any suggestions?
[root@mail ~]# cat contacts.csv
"email@example.com","Peter","Just make any changes that.....","Paul",""