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 Display Modes
  #1 (permalink)  
Old 10-07-2009, 08:52 AM
Active Member
 
Posts: 39
Default zmmailbox + getRestURL + not implemented yet?

Hi,
I'm trying to migrate some users from a zimbra open source server to zimbra network edition.

Following this post about the subject: ZCS-to-ZCS Migrations » Zimbra :: Blog

I should be able to use this command to export a mailbox from the open source server:
/opt/zimbra/bin/zmmailbox -z -m user@domain.com getRestURL “//?fmt=tgz” > /tmp/account.tgz

When using trying that I get this error:
ERROR: service.FAILURE (system failure: GET from https://zimbra.url.com:443/home/user....com/.?fmt=tgz. failed, status=501. not implemented yet)

How can i fix this? When i'm logged in on the user with web interface I can get the .tgz file of the user without a problem with this url:
http:// server.domain.com/home/user/?fmt=tgz

Need to do it from CLI because of automation.

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 10-27-2009, 01:58 PM
Moderator
 
Posts: 778
Default

Please put the output of
Code:
zmcontrol -v
in your profile.

The error you posted has an extra "." between the / and the ?
Are you sure you put in the command exactly like this?
Code:
/opt/zimbra/bin/zmmailbox -z -m user@domain.com  getRestURL “//?fmt=tgz” > /tmp/account.tgz
?
Reply With Quote
  #3 (permalink)  
Old 11-02-2009, 05:56 AM
Elite Member
 
Posts: 369
Default

If you really click on https://zimbra.url.com:443/home/user....com/.?fmt=tgz It does not show extra '.' . As per the error it seems to me :-

ERROR: service.FAILURE (system failure: GET from https://zimbra.url.com:443/home/user....com/.?fmt=tgz. failed, status=501. not implemented yet)

https has the issue. Does the server have https enabled ? You tried accessing with http as per your manual test but if you see it gets redirected to https . Seems you have both/redirect enabled. You might want to research on this.
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0