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 10-07-2009, 08:52 AM
Senior Member
 
Posts: 54
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: 1,147
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
Outstanding Member
 
Posts: 593
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
  #4 (permalink)  
Old 09-13-2010, 01:49 PM
Starter Member
 
Posts: 2
Default

Was this issue ever solved? I'm having the exact same problem. Please help.
Reply With Quote
  #5 (permalink)  
Old 09-14-2010, 12:20 AM
Zimbra Consultant & Moderator
 
Posts: 19,639
Default

Quote:
Originally Posted by redcr3 View Post
Was this issue ever solved? I'm having the exact same problem. Please help.
You need to give more information than a 'me too' post. There's a post above yours that asks some questions of the original poster, what are your answers to those questions? What errors are you seeing on the log files (post them here so it can be confirmed you have the same problem).
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 09-14-2010, 11:11 AM
Starter Member
 
Posts: 2
Default

HTTP is not redirected to HTTPS on my server. I tried switching back and forth and the error was always the same. One difference with my issue than the original poster is that I'm also getting the error from the brower.

From the command line:
/opt/zimbra/bin/zmmailbox -z -m user@hostname.domain.com getRestURL "//?fmt=tgz" > /backup/accounts/user.tgz
ERROR: service.FAILURE (system failure: GET failed, status=501 not implemented yet)

From a web browser login as the user and go to http://server.domain.com/home/user/?fmt=tgz
but I basically get the same error:
HTTP ERROR: 501
not implemented yet
RequestURI=/service/home/user/
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.