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 04-10-2011, 06:09 PM
Junior Member
 
Posts: 9
Default [SOLVED] user migration (zimbra to zimbra)

Hey all

Finally, I found out that (on EC2 environment) it's easier to install another zimbra server and then perform user migration from old-server to new-server by command utility:

/opt/zimbra/bin/zmmailbox -z -m $USERNAME getRestURL "//?fmt=tgz" > /backup/accounts/$USERNAME.tgz

Well, this only works for a small number of user, but at least it works for me

however, zmmailbox doesn't export password does it???
I successfully exported everything, but password. I ended up changing password on the new-server to log in (per account).

Any more hint about migrating password?
many thanks!
Reply With Quote
  #2 (permalink)  
Old 04-10-2011, 07:26 PM
Outstanding Member
 
Posts: 717
Default

Right, that will not migrate passwords or settings (like signatures, user preferences, filters, etc.)

You can get the encrypted password with:

zmprov -l ga user@domain.com userPassword

and then on the new server use

zmprov ma user@domain.com userPassword <encryptedpassword>

to set the password
__________________
01 Networks, LLC / Cybernetik.net
Zimbra NE and OSS Cloud Hosting
Shared Web Hosting
Consulting Services
Reply With Quote
  #3 (permalink)  
Old 04-10-2011, 08:32 PM
Junior Member
 
Posts: 9
Default

ah thanks!!
Code:
# name username@domain.com
userPassword: {SSHA}HWh4gJcupL+rRQHcrIuYqwxpLhLoh0wM
I assumed the the encrypted one is " HWh4gJcupL+rRQHcrIuYqwxpLhLoh0wM
". Therefore, over the new server, i should input

zmprov ma user@domain.com userPassword HWh4gJcupL+rRQHcrIuYqwxpLhLoh0wM

is that correct?
PS: will have to wait another week to test this as system is running
Reply With Quote
  #4 (permalink)  
Old 04-10-2011, 08:51 PM
Outstanding Member
 
Posts: 717
Default

Copy everything, including the {SSHA}..

So it would be

zmprov ma user@domain.com userPassword {SSHA}HWh4gJcupL+rRQHcrIuYqwxpLhLoh0wM
__________________
01 Networks, LLC / Cybernetik.net
Zimbra NE and OSS Cloud Hosting
Shared Web Hosting
Consulting Services
Reply With Quote
  #5 (permalink)  
Old 04-11-2011, 11:52 AM
Junior Member
 
Posts: 9
Default

worked perfectly!!
thanks alot!!
Reply With Quote
  #6 (permalink)  
Old 04-28-2011, 02:27 PM
Intermediate Member
 
Posts: 19
Default

I followed all the steps, which are very clear at all, but can't migrate the password. Is it a version specific solution or some other special notation marks, syntax should be taken? My version is OS 6.0.10 .

Thanks
Gokalp
Reply With Quote
  #7 (permalink)  
Old 05-16-2011, 02:18 AM
Junior Member
 
Posts: 5
Default

Hi,
I am running zimbra OSE 7.1.0 and I would like to backup my accounts.
But when I try this command :
/opt/zimbra/bin/zmmailbox -z -m user@domain.com getRestURL '//?fmt=tgz' > /tmp/user@domain.com.tgz
It backup something but nothing useful in the tgz file...
Something changed since zcs 7 ?
Can you help me ?
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.